#AF404D#AF404D
#AF404D is a mid, vivid red. Relative luminance 0.133; OKLCH L 52.9% C 0.145 H 16.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #AF404D |
|---|---|
| RGB | rgb(175, 64, 77) |
| HSL | hsl(353, 46%, 47%) |
| HSV | hsv(353, 63%, 69%) |
| CMYK | cmyk(0%, 63.4%, 56%, 31.4%) |
| CIE-LAB | lab(43.24, 46.22, 16.69) |
| CIE-LCH | lch(43.24, 49.14, 19.85°) |
| OKLab | oklab(52.86% 0.1386 0.0415) |
| OKLCH | oklch(52.86% 0.145 16.7) |
| XYZ | xyz(20.8540, 13.3193, 8.4925) |
| Luminance | 0.1332 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Red
#B9484E
ΔE00 3.61
Dark Rose
#B5485D
ΔE00 4.17
Light Maroon
#A24857
ΔE00 4.17
Light Burgundy
#A8415B
ΔE00 5.38
Dull Red
#BB3F3F
ΔE00 5.76
Cardinal
#C41E3A
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF404D #40AFA2
analogous
#AF4085 #AF404D #AF6B40
triadic
#AF404D #4DAF40 #404DAF
tetradic
#AF404D #85AF40 #40AFA2 #6B40AF
square
#AF404D #85AF40 #40AFA2 #6B40AF
split-complementary
#AF404D #40AF6B #4085AF
monochromatic
#551F26 #823039 #AF404D #C76571 #D7929A
Accessibility & contrast
On white
5.73
#AF404D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#AF404D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF404D
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF404D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF404D | 1.00 | 5.73 | 3.66 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B584D
Deuteranopia (green-blind)
#776F4A
Tritanopia (blue-blind)
#BF2C45
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #af404d; /* rgb */ color: rgb(175, 64, 77); /* oklch */ color: oklch(52.9% 0.145 16.7);
Tailwind
colors: {
custom: {
50: '#cc7a7e',
500: '#af404d',
950: '#000000',
},
}SCSS
$custom: #af404d; $custom-light: #cc7a7e; $custom-dark: #000000;
JSON
{
"hex": "#af404d",
"rgb": {
"r": 175,
"g": 64,
"b": 77
},
"hsl": {
"h": 352.973,
"s": 46.444,
"l": 46.863
},
"oklch": {
"l": 0.52864,
"c": 0.1447,
"h": 16.7
},
"luminance": 0.13317
}Semantic roles & 50–950 ramp
primary
#AF404D
secondary
#88C3BC
accent
#D6C752
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A0A
muted
#837C7C