#AF2C40#AF2C40
#AF2C40 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.166 H 17.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2C40 |
|---|---|
| RGB | rgb(175, 44, 64) |
| HSL | hsl(351, 60%, 43%) |
| HSV | hsv(351, 75%, 69%) |
| CMYK | cmyk(0%, 74.9%, 63.4%, 31.4%) |
| CIE-LAB | lab(40.06, 53.29, 20.55) |
| CIE-LCH | lch(40.06, 57.11, 21.09°) |
| OKLab | oklab(50.41% 0.1589 0.0495) |
| OKLCH | oklch(50.41% 0.166 17.3) |
| XYZ | xyz(19.5073, 11.2884, 6.0012) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.32
Rose Red
#BE013C
ΔE00 3.35
Cardinal
#C41E3A
ΔE00 4.37
Lipstick Red
#C0022F
ΔE00 5.07
Ruby
#CA0147
ΔE00 5.19
Dusty Red
#B9484E
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2C40 #2CAF9B
analogous
#AF2C81 #AF2C40 #AF5A2C
triadic
#AF2C40 #40AF2C #2C40AF
tetradic
#AF2C40 #81AF2C #2CAF9B #5A2CAF
square
#AF2C40 #81AF2C #2CAF9B #5A2CAF
split-complementary
#AF2C40 #2CAF5A #2C81AF
monochromatic
#4D131C #7E202E #AF2C40 #D1475C #DD7888
Accessibility & contrast
On white
6.45
#AF2C40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#AF2C40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2C40
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2C40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2C40 | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514D40
Deuteranopia (green-blind)
#72683C
Tritanopia (blue-blind)
#C00035
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2c40; /* rgb */ color: rgb(175, 44, 64); /* oklch */ color: oklch(50.4% 0.166 17.3);
Tailwind
colors: {
custom: {
50: '#ce7074',
500: '#af2c40',
950: '#000000',
},
}SCSS
$custom: #af2c40; $custom-light: #ce7074; $custom-dark: #000000;
JSON
{
"hex": "#af2c40",
"rgb": {
"r": 175,
"g": 44,
"b": 64
},
"hsl": {
"h": 350.84,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.5041,
"c": 0.16644,
"h": 17.3
},
"luminance": 0.11285
}Semantic roles & 50–950 ramp
primary
#AF2C40
secondary
#72C5B8
accent
#E3CB45
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B