#AF2E42#AF2E42
#AF2E42 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.6% C 0.165 H 16.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E42 |
|---|---|
| RGB | rgb(175, 46, 66) |
| HSL | hsl(351, 58%, 43%) |
| HSV | hsv(351, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 62.3%, 31.4%) |
| CIE-LAB | lab(40.35, 52.71, 19.67) |
| CIE-LCH | lch(40.35, 56.26, 20.47°) |
| OKLab | oklab(50.64% 0.1574 0.0477) |
| OKLCH | oklch(50.64% 0.165 16.9) |
| XYZ | xyz(19.6416, 11.4642, 6.3318) |
| Luminance | 0.1146 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 3.54
Rouge
#AB1239
ΔE00 3.56
Cardinal
#C41E3A
ΔE00 4.58
Ruby
#CA0147
ΔE00 5.09
Lipstick Red
#C0022F
ΔE00 5.47
Dusty Red
#B9484E
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E42 #2EAF9B
analogous
#AF2E82 #AF2E42 #AF5B2E
triadic
#AF2E42 #42AF2E #2E42AF
tetradic
#AF2E42 #82AF2E #2EAF9B #5B2EAF
square
#AF2E42 #82AF2E #2EAF9B #5B2EAF
split-complementary
#AF2E42 #2EAF5B #2E82AF
monochromatic
#4E151D #7F2130 #AF2E42 #D04B5F #DC7B8A
Accessibility & contrast
On white
6.38
#AF2E42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#AF2E42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E42
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E42 | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514E42
Deuteranopia (green-blind)
#72693E
Tritanopia (blue-blind)
#C00036
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2e42; /* rgb */ color: rgb(175, 46, 66); /* oklch */ color: oklch(50.6% 0.165 16.9);
Tailwind
colors: {
custom: {
50: '#ce7176',
500: '#af2e42',
950: '#000000',
},
}SCSS
$custom: #af2e42; $custom-light: #ce7176; $custom-dark: #000000;
JSON
{
"hex": "#af2e42",
"rgb": {
"r": 175,
"g": 46,
"b": 66
},
"hsl": {
"h": 350.698,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.50637,
"c": 0.16451,
"h": 16.9
},
"luminance": 0.11461
}Semantic roles & 50–950 ramp
primary
#AF2E42
secondary
#74C5B8
accent
#E2C946
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B