#AF2D48#AF2D48
#AF2D48 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.7% C 0.166 H 13.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2D48 |
|---|---|
| RGB | rgb(175, 45, 72) |
| HSL | hsl(348, 59%, 43%) |
| HSV | hsv(348, 74%, 69%) |
| CMYK | cmyk(0%, 74.3%, 58.9%, 31.4%) |
| CIE-LAB | lab(40.35, 53.47, 15.90) |
| CIE-LCH | lch(40.35, 55.79, 16.56°) |
| OKLab | oklab(50.67% 0.161 0.0393) |
| OKLCH | oklch(50.67% 0.166 13.7) |
| XYZ | xyz(19.7892, 11.4614, 7.2999) |
| Luminance | 0.1146 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.87
Rose Red
#BE013C
ΔE00 4.10
Ruby
#CA0147
ΔE00 4.75
Raspberry (survey)
#B00149
ΔE00 4.82
Purplish Red
#B0054B
ΔE00 4.99
Light Burgundy
#A8415B
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2D48 #2DAF94
analogous
#AF2D89 #AF2D48 #AF532D
triadic
#AF2D48 #48AF2D #2D48AF
tetradic
#AF2D48 #89AF2D #2DAF94 #532DAF
square
#AF2D48 #89AF2D #2DAF94 #532DAF
split-complementary
#AF2D48 #2DAF53 #2D89AF
monochromatic
#4E1420 #7E2034 #AF2D48 #D04965 #DD7A8E
Accessibility & contrast
On white
6.38
#AF2D48 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#AF2D48 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2D48
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2D48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2D48 | 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)
#504E48
Deuteranopia (green-blind)
#716945
Tritanopia (blue-blind)
#C00138
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2d48; /* rgb */ color: rgb(175, 45, 72); /* oklch */ color: oklch(50.7% 0.166 13.7);
Tailwind
colors: {
custom: {
50: '#ce717a',
500: '#af2d48',
950: '#000000',
},
}SCSS
$custom: #af2d48; $custom-light: #ce717a; $custom-dark: #000000;
JSON
{
"hex": "#af2d48",
"rgb": {
"r": 175,
"g": 45,
"b": 72
},
"hsl": {
"h": 347.538,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.50673,
"c": 0.16571,
"h": 13.7
},
"luminance": 0.11459
}Semantic roles & 50–950 ramp
primary
#AF2D48
secondary
#73C5B4
accent
#E2C246
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B