CSS named colour
Peru
#cd853f
A CSS named colour: peru is valid anywhere a colour is expected.
- RGB
- rgb(205 133 63)
- HSL
- 30°, 59%, 53%
- OKLCh
- 67.8% 0.123 62.2
Peru in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #cd853f | |
|---|---|---|
| RGB | rgb(205 133 63) | |
| RGB legacy | rgb(205, 133, 63) | |
| RGB percent | rgb(80.39% 52.16% 24.71%) | |
| HSL | hsl(29.6 58.7% 52.5%) | |
| HSL legacy | hsl(29.6, 58.7%, 52.5%) | |
| HSV / HSB | hsv(29.6, 69.3%, 80.4%) | |
| HWB | hwb(29.6 24.7% 19.6%) | |
| Nearest name | peru | |
| CMYK | cmyk(0%, 35.1%, 69.3%, 19.6%)Naive conversion. Real print work needs an ICC profile. |
Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.
| OKLCh | oklch(67.819% 0.12275 62.182)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(67.819% 0.05728 0.10856) | |
| CIE LCh | lch(62.253% 54.012 63.68) | |
| CIE Lab | lab(62.253% 23.948 48.413) | |
| Display P3 | color(display-p3 0.7635 0.5342 0.2988) | |
| Rec. 2020 | color(rec2020 0.6776 0.4987 0.2437) | |
| srgb-linear | color(srgb-linear 0.6105 0.2346 0.0497)Light-linear sRGB — the same numbers a shader wants for maths. | |
| CIE XYZ (D65) | color(xyz-d65 0.3446 0.3011 0.087) |
ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.
| GLSL vec3 — sRGB | vec3(0.804, 0.522, 0.247)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(0.61, 0.235, 0.05)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(0.804, 0.522, 0.247, 1.0) | |
| GLSL vec4 — linear | vec4(0.61, 0.235, 0.05, 1.0) | |
| GLSL ivec3 | ivec3(205, 133, 63) | |
| HLSL float3 — sRGB | float3(0.804, 0.522, 0.247) | |
| HLSL float3 — linear | float3(0.61, 0.235, 0.05) | |
| HLSL float4 — sRGB | float4(0.804, 0.522, 0.247, 1.0) | |
| HLSL half4 — sRGB | half4(0.804, 0.522, 0.247, 1.0) | |
| WGSL vec3f — sRGB | vec3f(0.804, 0.522, 0.247) | |
| WGSL vec4f — sRGB | vec4f(0.804, 0.522, 0.247, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(0.61, 0.235, 0.05) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new Color(0.804f, 0.522f, 0.247f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255. | |
|---|---|---|
| Unity Color32 | new Color32(205, 133, 63, 255) | |
| Unreal FLinearColor | FLinearColor(0.6105f, 0.2346f, 0.0497f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(205, 133, 63, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(0.804, 0.522, 0.247, 1) | |
| Flutter Color | Color(0xFFCD853F)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(205, 133, 63) | |
| SwiftUI Color | Color(red: 0.804, green: 0.522, blue: 0.247) | |
| UIKit UIColor | UIColor(red: 0.804, green: 0.522, blue: 0.247, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0xCD853F | |
|---|---|---|
| 0x hex (ARGB) | 0xFFCD853F | |
| Array 0–1 | [0.804, 0.522, 0.247] | |
| Array 0–255 | [205, 133, 63] | |
| Decimal integer | 13468991 |
Contrast and accessibility
WCAG 2 ratios are what audits and legislation reference. APCA is shown alongside because WCAG 2 is known to misjudge mid-tone backgrounds, and it is the basis of the WCAG 3 draft.
| Pairing | WCAG 2 ratio | Level | APCA | Suitable for |
|---|---|---|---|---|
| Peru on white | 2.99:1 | Fail | Lc 56 | Large headings only |
| Peru on black | 7.02:1 | AAA | Lc 45 | Large headings only |
Peru text on a white background
Peru text on a black background
White text on Peru
Black text on Peru
Tonal scale
Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.
- 50#fff2db
- 100#ffe5c3
- 200#ffce98
- 300#f9b579
- 400#de9756
- 500#bf7831
- 600#a25f13
- 700#864900
- 800#6e3700
- 900#5a2900
- 950#371400
Tints and shades
Mixed perceptually toward white and black, so the steps feel evenly spaced.
- Tint 1#d69962
- Tint 2#e0ae83
- Tint 3#e8c2a2
- Tint 4#f0d6c1
- Tint 5#f8ebe0
- Shade 1#a0672f
- Shade 2#764b20
- Shade 3#4e3012
- Shade 4#291706
- Shade 5#090401
Colours that work with Peru
Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.
- #49a0dd
- #00b09e
- #a684d6
- #d97966
- #b3952d
Closest CSS names
peruexact matchdarkgoldenrodΔEok 0.051chocolateΔEok 0.061darksalmonΔEok 0.087coralΔEok 0.091darkorangeΔEok 0.092