#AF3158#AF3158
#AF3158 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.5% C 0.164 H 6.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3158 |
|---|---|
| RGB | rgb(175, 49, 88) |
| HSL | hsl(341, 56%, 44%) |
| HSV | hsv(341, 72%, 69%) |
| CMYK | cmyk(0%, 72%, 49.7%, 31.4%) |
| CIE-LAB | lab(41.24, 53.31, 7.07) |
| CIE-LCH | lch(41.24, 53.77, 7.56°) |
| OKLab | oklab(51.46% 0.1626 0.0185) |
| OKLCH | oklch(51.46% 0.164 6.5) |
| XYZ | xyz(20.5407, 12.0179, 10.4687) |
| Luminance | 0.1202 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 2.97
Purplish Red
#B0054B
ΔE00 4.25
Raspberry (survey)
#B00149
ΔE00 4.57
Deep Pink
#CB0162
ΔE00 5.35
Light Maroon
#A24857
ΔE00 5.48
Dark Rose
#B5485D
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3158 #31AF88
analogous
#AF3197 #AF3158 #AF4931
triadic
#AF3158 #58AF31 #3158AF
tetradic
#AF3158 #97AF31 #31AF88 #4931AF
square
#AF3158 #97AF31 #31AF88 #4931AF
split-complementary
#AF3158 #31AF49 #3197AF
monochromatic
#4F1628 #7F2440 #AF3158 #CE4F77 #DB7F9C
Accessibility & contrast
On white
6.17
#AF3158 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#AF3158 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3158
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3158 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3158 | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F5159
Deuteranopia (green-blind)
#706A55
Tritanopia (blue-blind)
#BF1841
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af3158; /* rgb */ color: rgb(175, 49, 88); /* oklch */ color: oklch(51.5% 0.164 6.5);
Tailwind
colors: {
custom: {
50: '#cc7386',
500: '#af3158',
950: '#000000',
},
}SCSS
$custom: #af3158; $custom-light: #cc7386; $custom-dark: #000000;
JSON
{
"hex": "#af3158",
"rgb": {
"r": 175,
"g": 49,
"b": 88
},
"hsl": {
"h": 341.429,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.51462,
"c": 0.16364,
"h": 6.5
},
"luminance": 0.12015
}Semantic roles & 50–950 ramp
primary
#AF3158
secondary
#78C4AC
accent
#E0B148
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090B
muted
#837B7C