#AF3F52#AF3F52
#AF3F52 is a mid, vivid red. Relative luminance 0.133; OKLCH L 52.9% C 0.146 H 13.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3F52 |
|---|---|
| RGB | rgb(175, 63, 82) |
| HSL | hsl(350, 47%, 47%) |
| HSV | hsv(350, 64%, 69%) |
| CMYK | cmyk(0%, 64%, 53.1%, 31.4%) |
| CIE-LAB | lab(43.18, 47.08, 13.52) |
| CIE-LCH | lch(43.18, 48.99, 16.03°) |
| OKLab | oklab(52.86% 0.1421 0.0341) |
| OKLCH | oklch(52.86% 0.146 13.5) |
| XYZ | xyz(20.9815, 13.2808, 9.4396) |
| Luminance | 0.1328 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Rose
#B5485D
ΔE00 3.00
Light Maroon
#A24857
ΔE00 3.22
Light Burgundy
#A8415B
ΔE00 3.61
Dusty Red
#B9484E
ΔE00 5.00
Ruby
#CA0147
ΔE00 6.22
Deep Rose
#C74767
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3F52 #3FAF9C
analogous
#AF3F8A #AF3F52 #AF643F
triadic
#AF3F52 #52AF3F #3F52AF
tetradic
#AF3F52 #8AAF3F #3FAF9C #643FAF
square
#AF3F52 #8AAF3F #3FAF9C #643FAF
split-complementary
#AF3F52 #3FAF64 #3F8AAF
monochromatic
#551F28 #822F3D #AF3F52 #C76475 #D7919D
Accessibility & contrast
On white
5.74
#AF3F52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#AF3F52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3F52
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3F52 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595852
Deuteranopia (green-blind)
#766F4F
Tritanopia (blue-blind)
#BF2C46
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #af3f52; /* rgb */ color: rgb(175, 63, 82); /* oklch */ color: oklch(52.9% 0.146 13.5);
Tailwind
colors: {
custom: {
50: '#cc7a82',
500: '#af3f52',
950: '#000000',
},
}SCSS
$custom: #af3f52; $custom-light: #cc7a82; $custom-dark: #000000;
JSON
{
"hex": "#af3f52",
"rgb": {
"r": 175,
"g": 63,
"b": 82
},
"hsl": {
"h": 349.821,
"s": 47.059,
"l": 46.667
},
"oklch": {
"l": 0.52856,
"c": 0.1461,
"h": 13.5
},
"luminance": 0.13278
}Semantic roles & 50–950 ramp
primary
#AF3F52
secondary
#87C3B9
accent
#D7C051
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A0A
muted
#837C7C