#AF3937#AF3937
#AF3937 is a mid, vivid red. Relative luminance 0.123; OKLCH L 51.6% C 0.154 H 25.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3937 |
|---|---|
| RGB | rgb(175, 57, 55) |
| HSL | hsl(1, 52%, 45%) |
| HSV | hsv(1, 69%, 69%) |
| CMYK | cmyk(0%, 67.4%, 68.6%, 31.4%) |
| CIE-LAB | lab(41.72, 47.78, 28.15) |
| CIE-LCH | lch(41.72, 55.46, 30.50°) |
| OKLab | oklab(51.6% 0.1395 0.0656) |
| OKLCH | oklch(51.6% 0.154 25.2) |
| XYZ | xyz(19.8340, 12.3189, 4.9471) |
| Luminance | 0.1232 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 3.09
Brown
#A52A2A
ΔE00 3.81
Firebrick
#B22222
ΔE00 4.47
Reddish
#C44240
ΔE00 5.08
Cardinal
#C41E3A
ΔE00 5.23
Lipstick Red
#C0022F
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3937 #37ADAF
analogous
#AF3771 #AF3937 #AF7537
triadic
#AF3937 #37AF39 #3937AF
tetradic
#AF3937 #71AF37 #37ADAF #7537AF
square
#AF3937 #71AF37 #37ADAF #7537AF
split-complementary
#AF3937 #37AF75 #3771AF
monochromatic
#521B1A #802A28 #AF3937 #CB5A59 #D98887
Accessibility & contrast
On white
6.06
#AF3937 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#AF3937 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3937
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3937 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3937 | 1.00 | 6.06 | 3.46 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595236
Deuteranopia (green-blind)
#776C33
Tritanopia (blue-blind)
#C01A3A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #af3937; /* rgb */ color: rgb(175, 57, 55); /* oklch */ color: oklch(51.6% 0.154 25.2);
Tailwind
colors: {
custom: {
50: '#ce766e',
500: '#af3937',
950: '#000000',
},
}SCSS
$custom: #af3937; $custom-light: #ce766e; $custom-dark: #000000;
JSON
{
"hex": "#af3937",
"rgb": {
"r": 175,
"g": 57,
"b": 55
},
"hsl": {
"h": 1,
"s": 52.174,
"l": 45.098
},
"oklch": {
"l": 0.51596,
"c": 0.15417,
"h": 25.2
},
"luminance": 0.12316
}Semantic roles & 50–950 ramp
primary
#AF3937
secondary
#7FC2C3
accent
#D9DC4C
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150907
muted
#837B7A