#AF2258#AF2258
#AF2258 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.179 H 4.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2258 |
|---|---|
| RGB | rgb(175, 34, 88) |
| HSL | hsl(337, 67%, 41%) |
| HSV | hsv(337, 81%, 69%) |
| CMYK | cmyk(0%, 80.6%, 49.7%, 31.4%) |
| CIE-LAB | lab(39.52, 58.15, 4.62) |
| CIE-LCH | lch(39.52, 58.33, 4.54°) |
| OKLab | oklab(50.19% 0.1782 0.0124) |
| OKLCH | oklch(50.19% 0.179 4) |
| XYZ | xyz(20.0144, 10.9654, 10.2933) |
| Luminance | 0.1096 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.23
Raspberry (survey)
#B00149
ΔE00 3.71
Violet Red
#A50055
ΔE00 4.23
Deep Pink
#CB0162
ΔE00 4.96
Light Burgundy
#A8415B
ΔE00 5.18
Berry
#990F4B
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2258 #22AF79
analogous
#AF229E #AF2258 #AF3222
triadic
#AF2258 #58AF22 #2258AF
tetradic
#AF2258 #9EAF22 #22AF79 #3222AF
square
#AF2258 #9EAF22 #22AF79 #3222AF
split-complementary
#AF2258 #22AF32 #229EAF
monochromatic
#490E24 #7C183E #AF2258 #D83674 #E26998
Accessibility & contrast
On white
6.58
#AF2258 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#AF2258 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2258
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2258 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2258 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474C59
Deuteranopia (green-blind)
#6C6755
Tritanopia (blue-blind)
#BF003A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2258; /* rgb */ color: rgb(175, 34, 88); /* oklch */ color: oklch(50.2% 0.179 4.0);
Tailwind
colors: {
custom: {
50: '#cd6d86',
500: '#af2258',
950: '#000000',
},
}SCSS
$custom: #af2258; $custom-light: #cd6d86; $custom-dark: #000000;
JSON
{
"hex": "#af2258",
"rgb": {
"r": 175,
"g": 34,
"b": 88
},
"hsl": {
"h": 337.021,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.50193,
"c": 0.1786,
"h": 4
},
"luminance": 0.10963
}Semantic roles & 50–950 ramp
primary
#AF2258
secondary
#65C8A2
accent
#EAA83D
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C