#AF2E47#AF2E47
#AF2E47 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.7% C 0.165 H 14.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E47 |
|---|---|
| RGB | rgb(175, 46, 71) |
| HSL | hsl(348, 58%, 43%) |
| HSV | hsv(348, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 59.4%, 31.4%) |
| CIE-LAB | lab(40.45, 53.05, 16.67) |
| CIE-LCH | lch(40.45, 55.61, 17.45°) |
| OKLab | oklab(50.74% 0.1594 0.0411) |
| OKLCH | oklch(50.74% 0.165 14.5) |
| XYZ | xyz(19.7955, 11.5257, 7.1423) |
| Luminance | 0.1152 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.81
Rose Red
#BE013C
ΔE00 3.95
Ruby
#CA0147
ΔE00 4.77
Raspberry (survey)
#B00149
ΔE00 5.24
Purplish Red
#B0054B
ΔE00 5.43
Light Burgundy
#A8415B
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E47 #2EAF96
analogous
#AF2E87 #AF2E47 #AF552E
triadic
#AF2E47 #47AF2E #2E47AF
tetradic
#AF2E47 #87AF2E #2EAF96 #552EAF
square
#AF2E47 #87AF2E #2EAF96 #552EAF
split-complementary
#AF2E47 #2EAF55 #2E87AF
monochromatic
#4E1520 #7F2133 #AF2E47 #D04B64 #DC7B8E
Accessibility & contrast
On white
6.35
#AF2E47 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#AF2E47 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E47
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E47 | 1.00 | 6.35 | 3.30 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504E47
Deuteranopia (green-blind)
#716944
Tritanopia (blue-blind)
#C00438
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2e47; /* rgb */ color: rgb(175, 46, 71); /* oklch */ color: oklch(50.7% 0.165 14.5);
Tailwind
colors: {
custom: {
50: '#ce717a',
500: '#af2e47',
950: '#000000',
},
}SCSS
$custom: #af2e47; $custom-light: #ce717a; $custom-dark: #000000;
JSON
{
"hex": "#af2e47",
"rgb": {
"r": 175,
"g": 46,
"b": 71
},
"hsl": {
"h": 348.372,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.50744,
"c": 0.16465,
"h": 14.5
},
"luminance": 0.11523
}Semantic roles & 50–950 ramp
primary
#AF2E47
secondary
#74C5B5
accent
#E2C346
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B