#AF2D47#AF2D47
#AF2D47 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.7% C 0.166 H 14.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2D47 |
|---|---|
| RGB | rgb(175, 45, 71) |
| HSL | hsl(348, 59%, 43%) |
| HSV | hsv(348, 74%, 69%) |
| CMYK | cmyk(0%, 74.3%, 59.4%, 31.4%) |
| CIE-LAB | lab(40.33, 53.40, 16.50) |
| CIE-LCH | lch(40.33, 55.89, 17.17°) |
| OKLab | oklab(50.65% 0.1606 0.0407) |
| OKLCH | oklch(50.65% 0.166 14.2) |
| XYZ | xyz(19.7569, 11.4485, 7.1295) |
| Luminance | 0.1145 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.72
Rose Red
#BE013C
ΔE00 3.93
Ruby
#CA0147
ΔE00 4.74
Raspberry (survey)
#B00149
ΔE00 5.04
Purplish Red
#B0054B
ΔE00 5.23
Light Burgundy
#A8415B
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2D47 #2DAF95
analogous
#AF2D88 #AF2D47 #AF542D
triadic
#AF2D47 #47AF2D #2D47AF
tetradic
#AF2D47 #88AF2D #2DAF95 #542DAF
square
#AF2D47 #88AF2D #2DAF95 #542DAF
split-complementary
#AF2D47 #2DAF54 #2D88AF
monochromatic
#4E141F #7E2033 #AF2D47 #D04964 #DD7A8D
Accessibility & contrast
On white
6.38
#AF2D47 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#AF2D47 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2D47
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2D47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2D47 | 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)
#504E47
Deuteranopia (green-blind)
#716944
Tritanopia (blue-blind)
#C00038
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2d47; /* rgb */ color: rgb(175, 45, 71); /* oklch */ color: oklch(50.7% 0.166 14.2);
Tailwind
colors: {
custom: {
50: '#ce717a',
500: '#af2d47',
950: '#000000',
},
}SCSS
$custom: #af2d47; $custom-light: #ce717a; $custom-dark: #000000;
JSON
{
"hex": "#af2d47",
"rgb": {
"r": 175,
"g": 45,
"b": 71
},
"hsl": {
"h": 348,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.50651,
"c": 0.16565,
"h": 14.2
},
"luminance": 0.11446
}Semantic roles & 50–950 ramp
primary
#AF2D47
secondary
#73C5B4
accent
#E2C346
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B