#AF403B#AF403B
#AF403B is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.5% C 0.146 H 26.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #AF403B |
|---|---|
| RGB | rgb(175, 64, 59) |
| HSL | hsl(3, 50%, 46%) |
| HSV | hsv(3, 66%, 69%) |
| CMYK | cmyk(0%, 63.4%, 66.3%, 31.4%) |
| CIE-LAB | lab(42.91, 44.96, 27.21) |
| CIE-LCH | lch(42.91, 52.56, 31.18°) |
| OKLab | oklab(52.51% 0.1315 0.0641) |
| OKLCH | oklch(52.51% 0.146 26) |
| XYZ | xyz(20.3040, 13.0993, 5.5961) |
| Luminance | 0.1310 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.55
Reddish
#C44240
ΔE00 4.39
Brown
#A52A2A
ΔE00 5.04
Dusty Red
#B9484E
ΔE00 5.12
Firebrick
#B22222
ΔE00 5.52
Cardinal
#C41E3A
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF403B #3BAAAF
analogous
#AF3B70 #AF403B #AF7A3B
triadic
#AF403B #3BAF40 #403BAF
tetradic
#AF403B #70AF3B #3BAAAF #7A3BAF
square
#AF403B #70AF3B #3BAAAF #7A3BAF
split-complementary
#AF403B #3BAF7A #3B70AF
monochromatic
#531F1C #812F2C #AF403B #C9635E #D88F8C
Accessibility & contrast
On white
5.80
#AF403B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#AF403B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF403B
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF403B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF403B | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D563A
Deuteranopia (green-blind)
#796E38
Tritanopia (blue-blind)
#C02740
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #af403b; /* rgb */ color: rgb(175, 64, 59); /* oklch */ color: oklch(52.5% 0.146 26.0);
Tailwind
colors: {
custom: {
50: '#cd7a71',
500: '#af403b',
950: '#000000',
},
}SCSS
$custom: #af403b; $custom-light: #cd7a71; $custom-dark: #000000;
JSON
{
"hex": "#af403b",
"rgb": {
"r": 175,
"g": 64,
"b": 59
},
"hsl": {
"h": 2.586,
"s": 49.573,
"l": 45.882
},
"oklch": {
"l": 0.52511,
"c": 0.14623,
"h": 26
},
"luminance": 0.13097
}Semantic roles & 50–950 ramp
primary
#AF403B
secondary
#83C0C3
accent
#D3D94F
background
#FDF7F6
surface
#FBEEEC
border
#D4C9C7
text
#150A07
muted
#837C7A