CSS named color

Peru #CD853F

peru rgb(205, 133, 63)

Peru is a orange with the hex code #CD853F, which converts to rgb(205, 133, 63). Open #CD853F in the converter to tweak it.

Peru color values

HEX#CD853F
HEX (shorthand)—
RGBrgb(205, 133, 63)
RGBArgba(205, 133, 63, 1)
8-digit HEX#CD853FFF
HSLhsl(30, 59%, 53%)
HSV / HSB30°, 69%, 80%
CMYK0%, 35%, 69%, 20%
RGB 0–10.804, 0.522, 0.247
Decimal13468991
CSS keywordperu

How #CD853F converts to RGB

Split the hex code into three pairs and read each pair as a base-16 number: CD → 205, 85 → 133, 3F → 63. That gives rgb(205, 133, 63). The step-by-step guide explains the math.

Shades of Peru

Mixed toward black in 10% steps. Click a swatch to copy its hex.

Tints of Peru

Mixed toward white in 10% steps.

Color harmonies

Hue rotations of Peru on the HSL color wheel, keeping saturation and lightness fixed. The color harmony guide explains when each scheme works.

Complementary

Analogous

Split-complementary

Triadic

Tetradic (square)

Contrast and accessibility

TextBackgroundRatioWCAG 2.x
White Peru 2.99:1Fail
Black Peru 7.02:1AAA

Use black text on a peru background. Test any other pair in the contrast checker; thresholds are explained in the WCAG contrast guide.

Use Peru in CSS

.element {
  color: peru;                         /* keyword */
  background-color: #CD853F;            /* hex */
  border-color: rgb(205 133 63 / 50%);    /* 50% transparent */
}

Need it semi-transparent? Append an alpha byte: #CD853F80 is Peru at 50% opacity. See RGBA & transparency.

Similar named colors

FAQ

What is the HEX code for Peru?

The CSS named color peru is #CD853F in hexadecimal. In CSS you can write color: peru; or color: #CD853F; — both produce the same pixel.

What is Peru in RGB?

Peru is rgb(205, 133, 63): red 205, green 133, blue 63 on the 0–255 scale. As normalized 0–1 floats that is (0.804, 0.522, 0.247).

Is white or black text more readable on Peru?

Black text is more readable. White on #CD853F has a contrast ratio of 2.99:1 (Fail), black on #CD853F has 7.02:1 (AAA). WCAG AA needs 4.5:1 for normal text.

Copied!