#AF3139#AF3139
#AF3139 is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.8% C 0.162 H 21.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3139 |
|---|---|
| RGB | rgb(175, 49, 57) |
| HSL | hsl(356, 56%, 44%) |
| HSV | hsv(356, 72%, 69%) |
| CMYK | cmyk(0%, 72%, 67.4%, 31.4%) |
| CIE-LAB | lab(40.59, 51.07, 25.55) |
| CIE-LCH | lch(40.59, 57.11, 26.58°) |
| OKLab | oklab(50.76% 0.1504 0.0601) |
| OKLCH | oklch(50.76% 0.162 21.8) |
| XYZ | xyz(19.5181, 11.6089, 5.0831) |
| Luminance | 0.1161 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 3.89
Brown
#A52A2A
ΔE00 3.98
Lipstick Red
#C0022F
ΔE00 4.04
Dull Red
#BB3F3F
ΔE00 4.24
Rose Red
#BE013C
ΔE00 5.17
Firebrick
#B22222
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3139 #31AFA7
analogous
#AF3178 #AF3139 #AF6831
triadic
#AF3139 #39AF31 #3139AF
tetradic
#AF3139 #78AF31 #31AFA7 #6831AF
square
#AF3139 #78AF31 #31AFA7 #6831AF
split-complementary
#AF3139 #31AF68 #3178AF
monochromatic
#4F161A #7F2429 #AF3139 #CE4F57 #DB7F85
Accessibility & contrast
On white
6.32
#AF3139 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#AF3139 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3139
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3139 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3139 | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544F38
Deuteranopia (green-blind)
#746935
Tritanopia (blue-blind)
#C00335
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af3139; /* rgb */ color: rgb(175, 49, 57); /* oklch */ color: oklch(50.8% 0.162 21.8);
Tailwind
colors: {
custom: {
50: '#ce726f',
500: '#af3139',
950: '#000000',
},
}SCSS
$custom: #af3139; $custom-light: #ce726f; $custom-dark: #000000;
JSON
{
"hex": "#af3139",
"rgb": {
"r": 175,
"g": 49,
"b": 57
},
"hsl": {
"h": 356.19,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.50761,
"c": 0.16195,
"h": 21.8
},
"luminance": 0.11606
}Semantic roles & 50–950 ramp
primary
#AF3139
secondary
#78C4BF
accent
#E0D648
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A