#AF2E48#AF2E48
#AF2E48 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.8% C 0.165 H 14.0°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E48 |
|---|---|
| RGB | rgb(175, 46, 72) |
| HSL | hsl(348, 58%, 43%) |
| HSV | hsv(348, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 58.9%, 31.4%) |
| CIE-LAB | lab(40.47, 53.12, 16.07) |
| CIE-LCH | lch(40.47, 55.50, 16.83°) |
| OKLab | oklab(50.77% 0.1598 0.0397) |
| OKLCH | oklch(50.77% 0.165 14) |
| XYZ | xyz(19.8278, 11.5387, 7.3128) |
| Luminance | 0.1154 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.94
Rose Red
#BE013C
ΔE00 4.12
Ruby
#CA0147
ΔE00 4.77
Raspberry (survey)
#B00149
ΔE00 5.02
Purplish Red
#B0054B
ΔE00 5.18
Light Burgundy
#A8415B
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E48 #2EAF95
analogous
#AF2E88 #AF2E48 #AF542E
triadic
#AF2E48 #48AF2E #2E48AF
tetradic
#AF2E48 #88AF2E #2EAF95 #542EAF
square
#AF2E48 #88AF2E #2EAF95 #542EAF
split-complementary
#AF2E48 #2EAF54 #2E88AF
monochromatic
#4E1520 #7F2134 #AF2E48 #D04B65 #DC7B8F
Accessibility & contrast
On white
6.35
#AF2E48 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#AF2E48 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E48
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E48 | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504E48
Deuteranopia (green-blind)
#716945
Tritanopia (blue-blind)
#C00539
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2e48; /* rgb */ color: rgb(175, 46, 72); /* oklch */ color: oklch(50.8% 0.165 14.0);
Tailwind
colors: {
custom: {
50: '#cd717a',
500: '#af2e48',
950: '#000000',
},
}SCSS
$custom: #af2e48; $custom-light: #cd717a; $custom-dark: #000000;
JSON
{
"hex": "#af2e48",
"rgb": {
"r": 175,
"g": 46,
"b": 72
},
"hsl": {
"h": 347.907,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.50767,
"c": 0.16471,
"h": 14
},
"luminance": 0.11536
}Semantic roles & 50–950 ramp
primary
#AF2E48
secondary
#74C5B4
accent
#E2C246
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150809
muted
#837B7B