#AF4252#AF4252
#AF4252 is a mid, vivid red. Relative luminance 0.136; OKLCH L 53.2% C 0.142 H 14.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4252 |
|---|---|
| RGB | rgb(175, 66, 82) |
| HSL | hsl(351, 45%, 47%) |
| HSV | hsv(351, 62%, 69%) |
| CMYK | cmyk(0%, 62.3%, 53.1%, 31.4%) |
| CIE-LAB | lab(43.69, 45.73, 14.21) |
| CIE-LCH | lch(43.69, 47.89, 17.26°) |
| OKLab | oklab(53.23% 0.1378 0.0358) |
| OKLCH | oklch(53.23% 0.142 14.6) |
| XYZ | xyz(21.1522, 13.6222, 9.4965) |
| Luminance | 0.1362 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Rose
#B5485D
ΔE00 2.91
Light Maroon
#A24857
ΔE00 3.22
Light Burgundy
#A8415B
ΔE00 4.14
Dusty Red
#B9484E
ΔE00 4.27
Deep Rose
#C74767
ΔE00 6.55
Ruby
#CA0147
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4252 #42AF9F
analogous
#AF4288 #AF4252 #AF6942
triadic
#AF4252 #52AF42 #4252AF
tetradic
#AF4252 #88AF42 #42AF9F #6942AF
square
#AF4252 #88AF42 #42AF9F #6942AF
split-complementary
#AF4252 #42AF69 #4288AF
monochromatic
#562028 #83313D #AF4252 #C66876 #D7959E
Accessibility & contrast
On white
5.64
#AF4252 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#AF4252 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4252
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4252 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4252 | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5952
Deuteranopia (green-blind)
#77704F
Tritanopia (blue-blind)
#BF3048
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #af4252; /* rgb */ color: rgb(175, 66, 82); /* oklch */ color: oklch(53.2% 0.142 14.6);
Tailwind
colors: {
custom: {
50: '#cc7c82',
500: '#af4252',
950: '#000000',
},
}SCSS
$custom: #af4252; $custom-light: #cc7c82; $custom-dark: #000000;
JSON
{
"hex": "#af4252",
"rgb": {
"r": 175,
"g": 66,
"b": 82
},
"hsl": {
"h": 351.193,
"s": 45.228,
"l": 47.255
},
"oklch": {
"l": 0.53233,
"c": 0.14235,
"h": 14.6
},
"luminance": 0.1362
}Semantic roles & 50–950 ramp
primary
#AF4252
secondary
#8AC2BA
accent
#D5C253
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A0A
muted
#837C7C