#AF2F32#AF2F32
#AF2F32 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.4% C 0.165 H 24.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F32 |
|---|---|
| RGB | rgb(175, 47, 50) |
| HSL | hsl(359, 58%, 44%) |
| HSV | hsv(359, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 71.4%, 31.4%) |
| CIE-LAB | lab(40.21, 51.45, 29.35) |
| CIE-LCH | lch(40.21, 59.23, 29.70°) |
| OKLab | oklab(50.45% 0.1501 0.0674) |
| OKLCH | oklch(50.45% 0.165 24.2) |
| XYZ | xyz(19.2736, 11.3802, 4.1987) |
| Luminance | 0.1138 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.60
Firebrick
#B22222
ΔE00 3.55
Lipstick Red
#C0022F
ΔE00 4.08
Dull Red
#BB3F3F
ΔE00 4.35
Cardinal
#C41E3A
ΔE00 4.71
Scarlet
#BE0119
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F32 #2FAFAC
analogous
#AF2F72 #AF2F32 #AF6C2F
triadic
#AF2F32 #32AF2F #2F32AF
tetradic
#AF2F32 #72AF2F #2FAFAC #6C2FAF
square
#AF2F32 #72AF2F #2FAFAC #6C2FAF
split-complementary
#AF2F32 #2FAF6C #2F72AF
monochromatic
#4F1516 #7F2224 #AF2F32 #CF4C4F #DC7C7F
Accessibility & contrast
On white
6.41
#AF2F32 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#AF2F32 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F32
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F32 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F32 | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544D31
Deuteranopia (green-blind)
#74692E
Tritanopia (blue-blind)
#C10032
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2f32; /* rgb */ color: rgb(175, 47, 50); /* oklch */ color: oklch(50.4% 0.165 24.2);
Tailwind
colors: {
custom: {
50: '#cf716a',
500: '#af2f32',
950: '#000000',
},
}SCSS
$custom: #af2f32; $custom-light: #cf716a; $custom-dark: #000000;
JSON
{
"hex": "#af2f32",
"rgb": {
"r": 175,
"g": 47,
"b": 50
},
"hsl": {
"h": 358.594,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.50448,
"c": 0.1645,
"h": 24.2
},
"luminance": 0.11377
}Semantic roles & 50–950 ramp
primary
#AF2F32
secondary
#75C4C3
accent
#E1DD47
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A