#AF5128#AF5128
#AF5128 is a mid, vivid orange. Relative luminance 0.152; OKLCH L 54.7% C 0.134 H 42.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #AF5128 |
|---|---|
| RGB | rgb(175, 81, 40) |
| HSL | hsl(18, 63%, 42%) |
| HSV | hsv(18, 77%, 69%) |
| CMYK | cmyk(0%, 53.7%, 77.1%, 31.4%) |
| CIE-LAB | lab(45.85, 35.73, 41.12) |
| CIE-LCH | lch(45.85, 54.48, 49.01°) |
| OKLab | oklab(54.66% 0.0992 0.0907) |
| OKLCH | oklch(54.66% 0.134 42.4) |
| XYZ | xyz(21.0067, 15.1547, 3.8260) |
| Luminance | 0.1515 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Sienna
#A0522D
ΔE00 3.33
Burnt Sienna
#B04E0F
ΔE00 4.13
Rust
#B7410E
ΔE00 4.15
Sienna (survey)
#A9561E
ΔE00 4.62
Brick Orange
#C14A09
ΔE00 4.83
Burnt Umber
#A0450E
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF5128 #2886AF
analogous
#AF2843 #AF5128 #AF9528
triadic
#AF5128 #28AF51 #5128AF
tetradic
#AF5128 #43AF28 #2886AF #9528AF
square
#AF5128 #43AF28 #2886AF #9528AF
split-complementary
#AF5128 #28AF95 #2843AF
monochromatic
#4B2311 #7D3A1D #AF5128 #D46D41 #DF9373
Accessibility & contrast
On white
5.21
#AF5128 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#AF5128 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF5128
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF5128 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF5128 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B6023
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#C03D48
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #af5128; /* rgb */ color: rgb(175, 81, 40); /* oklch */ color: oklch(54.7% 0.134 42.4);
Tailwind
colors: {
custom: {
50: '#ce8464',
500: '#af5128',
950: '#000000',
},
}SCSS
$custom: #af5128; $custom-light: #ce8464; $custom-dark: #000000;
JSON
{
"hex": "#af5128",
"rgb": {
"r": 175,
"g": 81,
"b": 40
},
"hsl": {
"h": 18.222,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.54656,
"c": 0.13439,
"h": 42.4
},
"luminance": 0.15152
}Semantic roles & 50–950 ramp
primary
#AF5128
secondary
#6DABC6
accent
#B4E642
background
#FDF8F6
surface
#FBEFEB
border
#D4CAC6
text
#150B05
muted
#837C7A