#AF404F#AF404F
#AF404F is a mid, vivid red. Relative luminance 0.133; OKLCH L 52.9% C 0.145 H 15.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #AF404F |
|---|---|
| RGB | rgb(175, 64, 79) |
| HSL | hsl(352, 46%, 47%) |
| HSV | hsv(352, 63%, 69%) |
| CMYK | cmyk(0%, 63.4%, 54.9%, 31.4%) |
| CIE-LAB | lab(43.28, 46.38, 15.51) |
| CIE-LCH | lch(43.28, 48.91, 18.49°) |
| OKLab | oklab(52.91% 0.1394 0.0388) |
| OKLCH | oklch(52.91% 0.145 15.5) |
| XYZ | xyz(20.9257, 13.3479, 8.8701) |
| Luminance | 0.1335 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Rose
#B5485D
ΔE00 3.63
Light Maroon
#A24857
ΔE00 3.72
Dusty Red
#B9484E
ΔE00 4.02
Light Burgundy
#A8415B
ΔE00 4.73
Ruby
#CA0147
ΔE00 6.30
Dull Red
#BB3F3F
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF404F #40AFA0
analogous
#AF4087 #AF404F #AF6940
triadic
#AF404F #4FAF40 #404FAF
tetradic
#AF404F #87AF40 #40AFA0 #6940AF
square
#AF404F #87AF40 #40AFA0 #6940AF
split-complementary
#AF404F #40AF69 #4087AF
monochromatic
#551F27 #82303B #AF404F #C76573 #D7929C
Accessibility & contrast
On white
5.72
#AF404F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#AF404F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF404F
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF404F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF404F | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A584F
Deuteranopia (green-blind)
#776F4C
Tritanopia (blue-blind)
#BF2C46
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #af404f; /* rgb */ color: rgb(175, 64, 79); /* oklch */ color: oklch(52.9% 0.145 15.5);
Tailwind
colors: {
custom: {
50: '#cc7a80',
500: '#af404f',
950: '#000000',
},
}SCSS
$custom: #af404f; $custom-light: #cc7a80; $custom-dark: #000000;
JSON
{
"hex": "#af404f",
"rgb": {
"r": 175,
"g": 64,
"b": 79
},
"hsl": {
"h": 351.892,
"s": 46.444,
"l": 46.863
},
"oklch": {
"l": 0.52909,
"c": 0.14473,
"h": 15.5
},
"luminance": 0.13345
}Semantic roles & 50–950 ramp
primary
#AF404F
secondary
#88C3BB
accent
#D6C452
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A0A
muted
#837C7C