#AF2C38#AF2C38
#AF2C38 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.167 H 20.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2C38 |
|---|---|
| RGB | rgb(175, 44, 56) |
| HSL | hsl(355, 60%, 43%) |
| HSV | hsv(355, 75%, 69%) |
| CMYK | cmyk(0%, 74.9%, 68%, 31.4%) |
| CIE-LAB | lab(39.92, 52.82, 25.34) |
| CIE-LCH | lch(39.92, 58.59, 25.63°) |
| OKLab | oklab(50.26% 0.1557 0.0595) |
| OKLCH | oklch(50.26% 0.167 20.9) |
| XYZ | xyz(19.2958, 11.2038, 4.8871) |
| Luminance | 0.1120 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick Red
#C0022F
ΔE00 3.66
Cardinal
#C41E3A
ΔE00 3.77
Brown
#A52A2A
ΔE00 4.08
Rose Red
#BE013C
ΔE00 4.47
Rouge
#AB1239
ΔE00 4.66
Dull Red
#BB3F3F
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2C38 #2CAFA3
analogous
#AF2C79 #AF2C38 #AF622C
triadic
#AF2C38 #38AF2C #2C38AF
tetradic
#AF2C38 #79AF2C #2CAFA3 #622CAF
square
#AF2C38 #79AF2C #2CAFA3 #622CAF
split-complementary
#AF2C38 #2CAF62 #2C79AF
monochromatic
#4D1319 #7E2028 #AF2C38 #D14754 #DD7882
Accessibility & contrast
On white
6.48
#AF2C38 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#AF2C38 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2C38
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2C38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2C38 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524C37
Deuteranopia (green-blind)
#736834
Tritanopia (blue-blind)
#C00032
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2c38; /* rgb */ color: rgb(175, 44, 56); /* oklch */ color: oklch(50.3% 0.167 20.9);
Tailwind
colors: {
custom: {
50: '#cf706e',
500: '#af2c38',
950: '#000000',
},
}SCSS
$custom: #af2c38; $custom-light: #cf706e; $custom-dark: #000000;
JSON
{
"hex": "#af2c38",
"rgb": {
"r": 175,
"g": 44,
"b": 56
},
"hsl": {
"h": 354.504,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.5026,
"c": 0.16671,
"h": 20.9
},
"luminance": 0.11201
}Semantic roles & 50–950 ramp
primary
#AF2C38
secondary
#72C5BD
accent
#E3D445
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A