#AF4E52#AF4E52
#AF4E52 is a mid, vivid red. Relative luminance 0.152; OKLCH L 54.9% C 0.127 H 19.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4E52 |
|---|---|
| RGB | rgb(175, 78, 82) |
| HSL | hsl(358, 38%, 50%) |
| HSV | hsv(358, 55%, 69%) |
| CMYK | cmyk(0%, 55.4%, 53.1%, 31.4%) |
| CIE-LAB | lab(45.87, 39.97, 17.18) |
| CIE-LCH | lch(45.87, 43.51, 23.26°) |
| OKLab | oklab(54.88% 0.1196 0.0429) |
| OKLCH | oklch(54.88% 0.127 19.7) |
| XYZ | xyz(21.9283, 15.1745, 9.7552) |
| Luminance | 0.1517 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Red
#B9484E
ΔE00 2.30
Dark Rose
#B5485D
ΔE00 4.92
Dull Red
#BB3F3F
ΔE00 5.25
Light Maroon
#A24857
ΔE00 5.29
Reddish
#C44240
ΔE00 6.24
Light Burgundy
#A8415B
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4E52 #4EAFAB
analogous
#AF4E83 #AF4E52 #AF7B4E
triadic
#AF4E52 #52AF4E #4E52AF
tetradic
#AF4E52 #83AF4E #4EAFAB #7B4EAF
square
#AF4E52 #83AF4E #4EAFAB #7B4EAF
split-complementary
#AF4E52 #4EAF7B #4E83AF
monochromatic
#5A282A #853B3E #AF4E52 #C3787B #D6A2A4
Accessibility & contrast
On white
5.21
#AF4E52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#AF4E52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4E52
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4E52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4E52 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#646052
Deuteranopia (green-blind)
#7D7450
Tritanopia (blue-blind)
#BE3F50
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #af4e52; /* rgb */ color: rgb(175, 78, 82); /* oklch */ color: oklch(54.9% 0.127 19.7);
Tailwind
colors: {
custom: {
50: '#cb8382',
500: '#af4e52',
950: '#000000',
},
}SCSS
$custom: #af4e52; $custom-light: #cb8382; $custom-dark: #000000;
JSON
{
"hex": "#af4e52",
"rgb": {
"r": 175,
"g": 78,
"b": 82
},
"hsl": {
"h": 357.526,
"s": 38.34,
"l": 49.608
},
"oklch": {
"l": 0.54877,
"c": 0.12708,
"h": 19.7
},
"luminance": 0.15172
}Semantic roles & 50–950 ramp
primary
#AF4E52
secondary
#96C3C1
accent
#CEC95A
background
#FDF8F7
surface
#FAEFEE
border
#D3CAC9
text
#140B0A
muted
#837C7C