#AF2F3B#AF2F3B
#AF2F3B is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.6% C 0.164 H 20.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F3B |
|---|---|
| RGB | rgb(175, 47, 59) |
| HSL | hsl(354, 58%, 44%) |
| HSV | hsv(354, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 66.3%, 31.4%) |
| CIE-LAB | lab(40.35, 51.93, 24.03) |
| CIE-LCH | lch(40.35, 57.22, 24.83°) |
| OKLab | oklab(50.6% 0.1535 0.0569) |
| OKLCH | oklch(50.6% 0.164 20.3) |
| XYZ | xyz(19.4872, 11.4656, 5.3238) |
| Luminance | 0.1146 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 3.75
Lipstick Red
#C0022F
ΔE00 4.08
Rose Red
#BE013C
ΔE00 4.37
Rouge
#AB1239
ΔE00 4.63
Brown
#A52A2A
ΔE00 4.66
Dull Red
#BB3F3F
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F3B #2FAFA3
analogous
#AF2F7B #AF2F3B #AF632F
triadic
#AF2F3B #3BAF2F #2F3BAF
tetradic
#AF2F3B #7BAF2F #2FAFA3 #632FAF
square
#AF2F3B #7BAF2F #2FAFA3 #632FAF
split-complementary
#AF2F3B #2FAF63 #2F7BAF
monochromatic
#4F151A #7F222B #AF2F3B #CF4C58 #DC7C85
Accessibility & contrast
On white
6.38
#AF2F3B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#AF2F3B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F3B
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F3B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F3B | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534E3A
Deuteranopia (green-blind)
#736937
Tritanopia (blue-blind)
#C00035
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2f3b; /* rgb */ color: rgb(175, 47, 59); /* oklch */ color: oklch(50.6% 0.164 20.3);
Tailwind
colors: {
custom: {
50: '#ce7170',
500: '#af2f3b',
950: '#000000',
},
}SCSS
$custom: #af2f3b; $custom-light: #ce7170; $custom-dark: #000000;
JSON
{
"hex": "#af2f3b",
"rgb": {
"r": 175,
"g": 47,
"b": 59
},
"hsl": {
"h": 354.375,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.50598,
"c": 0.16373,
"h": 20.3
},
"luminance": 0.11463
}Semantic roles & 50–950 ramp
primary
#AF2F3B
secondary
#75C4BD
accent
#E1D247
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A