#AF3237#AF3237
#AF3237 is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.8% C 0.161 H 22.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3237 |
|---|---|
| RGB | rgb(175, 50, 55) |
| HSL | hsl(358, 56%, 44%) |
| HSV | hsv(358, 71%, 69%) |
| CMYK | cmyk(0%, 71.4%, 68.6%, 31.4%) |
| CIE-LAB | lab(40.69, 50.59, 26.90) |
| CIE-LCH | lch(40.69, 57.30, 28.00°) |
| OKLab | oklab(50.83% 0.1484 0.0628) |
| OKLCH | oklch(50.83% 0.161 22.9) |
| XYZ | xyz(19.5115, 11.6739, 4.8396) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.48
Dull Red
#BB3F3F
ΔE00 3.93
Lipstick Red
#C0022F
ΔE00 4.14
Cardinal
#C41E3A
ΔE00 4.19
Firebrick
#B22222
ΔE00 4.76
Cherry (survey)
#CF0234
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3237 #32AFAA
analogous
#AF3276 #AF3237 #AF6C32
triadic
#AF3237 #37AF32 #3237AF
tetradic
#AF3237 #76AF32 #32AFAA #6C32AF
square
#AF3237 #76AF32 #32AFAA #6C32AF
split-complementary
#AF3237 #32AF6C #3276AF
monochromatic
#501719 #7F2428 #AF3237 #CD5156 #DB8184
Accessibility & contrast
On white
6.30
#AF3237 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#AF3237 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3237
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3237 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3237 | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554F36
Deuteranopia (green-blind)
#746A33
Tritanopia (blue-blind)
#C00635
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af3237; /* rgb */ color: rgb(175, 50, 55); /* oklch */ color: oklch(50.8% 0.161 22.9);
Tailwind
colors: {
custom: {
50: '#ce736e',
500: '#af3237',
950: '#000000',
},
}SCSS
$custom: #af3237; $custom-light: #ce736e; $custom-dark: #000000;
JSON
{
"hex": "#af3237",
"rgb": {
"r": 175,
"g": 50,
"b": 55
},
"hsl": {
"h": 357.6,
"s": 55.556,
"l": 44.118
},
"oklch": {
"l": 0.50829,
"c": 0.16115,
"h": 22.9
},
"luminance": 0.11671
}Semantic roles & 50–950 ramp
primary
#AF3237
secondary
#79C4C1
accent
#DFD949
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150907
muted
#837B7A