#AF3252#AF3252
#AF3252 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.4% C 0.161 H 9.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3252 |
|---|---|
| RGB | rgb(175, 50, 82) |
| HSL | hsl(345, 56%, 44%) |
| HSV | hsv(345, 71%, 69%) |
| CMYK | cmyk(0%, 71.4%, 53.1%, 31.4%) |
| CIE-LAB | lab(41.23, 52.42, 10.82) |
| CIE-LCH | lch(41.23, 53.53, 11.66°) |
| OKLab | oklab(51.4% 0.1591 0.0276) |
| OKLCH | oklch(51.4% 0.161 9.8) |
| XYZ | xyz(20.3446, 12.0071, 9.2273) |
| Luminance | 0.1200 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.16
Purplish Red
#B0054B
ΔE00 4.37
Raspberry (survey)
#B00149
ΔE00 4.49
Light Maroon
#A24857
ΔE00 4.73
Dark Rose
#B5485D
ΔE00 4.86
Ruby
#CA0147
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3252 #32AF8F
analogous
#AF3291 #AF3252 #AF5132
triadic
#AF3252 #52AF32 #3252AF
tetradic
#AF3252 #91AF32 #32AF8F #5132AF
square
#AF3252 #91AF32 #32AF8F #5132AF
split-complementary
#AF3252 #32AF51 #3291AF
monochromatic
#501725 #7F243C #AF3252 #CD5171 #DB8198
Accessibility & contrast
On white
6.18
#AF3252 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#AF3252 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3252
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3252 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3252 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#515153
Deuteranopia (green-blind)
#716A4F
Tritanopia (blue-blind)
#BF173F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af3252; /* rgb */ color: rgb(175, 50, 82); /* oklch */ color: oklch(51.4% 0.161 9.8);
Tailwind
colors: {
custom: {
50: '#cd7382',
500: '#af3252',
950: '#000000',
},
}SCSS
$custom: #af3252; $custom-light: #cd7382; $custom-dark: #000000;
JSON
{
"hex": "#af3252",
"rgb": {
"r": 175,
"g": 50,
"b": 82
},
"hsl": {
"h": 344.64,
"s": 55.556,
"l": 44.118
},
"oklch": {
"l": 0.514,
"c": 0.16147,
"h": 9.8
},
"luminance": 0.12004
}Semantic roles & 50–950 ramp
primary
#AF3252
secondary
#79C4B1
accent
#DFB849
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C