#AF402D#AF402D
#AF402D is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.3% C 0.149 H 32.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #AF402D |
|---|---|
| RGB | rgb(175, 64, 45) |
| HSL | hsl(9, 59%, 43%) |
| HSV | hsv(9, 74%, 69%) |
| CMYK | cmyk(0%, 63.4%, 74.3%, 31.4%) |
| CIE-LAB | lab(42.72, 44.22, 35.13) |
| CIE-LCH | lch(42.72, 56.48, 38.46°) |
| OKLab | oklab(52.31% 0.1263 0.0789) |
| OKLCH | oklch(52.31% 0.149 32) |
| XYZ | xyz(19.9884, 12.9730, 3.9336) |
| Luminance | 0.1297 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 4.00
Brownish Red
#9E3623
ΔE00 4.33
Firebrick
#B22222
ΔE00 5.19
Rusty Red
#AF2F0D
ΔE00 5.41
Dull Red
#BB3F3F
ΔE00 5.94
Brown
#A52A2A
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF402D #2D9CAF
analogous
#AF2D5B #AF402D #AF812D
triadic
#AF402D #2DAF40 #402DAF
tetradic
#AF402D #5BAF2D #2D9CAF #812DAF
square
#AF402D #5BAF2D #2D9CAF #812DAF
split-complementary
#AF402D #2DAF81 #2D5BAF
monochromatic
#4E1C14 #7E2E20 #AF402D #D05D49 #DD887A
Accessibility & contrast
On white
5.84
#AF402D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#AF402D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF402D
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF402D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF402D | 1.00 | 5.84 | 3.59 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F562A
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#C0243C
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #af402d; /* rgb */ color: rgb(175, 64, 45); /* oklch */ color: oklch(52.3% 0.149 32.0);
Tailwind
colors: {
custom: {
50: '#ce7a67',
500: '#af402d',
950: '#000000',
},
}SCSS
$custom: #af402d; $custom-light: #ce7a67; $custom-dark: #000000;
JSON
{
"hex": "#af402d",
"rgb": {
"r": 175,
"g": 64,
"b": 45
},
"hsl": {
"h": 8.769,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.52308,
"c": 0.14896,
"h": 32
},
"luminance": 0.1297
}Semantic roles & 50–950 ramp
primary
#AF402D
secondary
#73B9C5
accent
#CBE246
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150906
muted
#837B7A