#AF2259#AF2259
#AF2259 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.179 H 3.5°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2259 |
|---|---|
| RGB | rgb(175, 34, 89) |
| HSL | hsl(337, 67%, 41%) |
| HSV | hsv(337, 81%, 69%) |
| CMYK | cmyk(0%, 80.6%, 49.1%, 31.4%) |
| CIE-LAB | lab(39.55, 58.23, 4.02) |
| CIE-LCH | lch(39.55, 58.37, 3.95°) |
| OKLab | oklab(50.22% 0.1785 0.0109) |
| OKLCH | oklch(50.22% 0.179 3.5) |
| XYZ | xyz(20.0562, 10.9821, 10.5129) |
| Luminance | 0.1098 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.46
Raspberry (survey)
#B00149
ΔE00 3.94
Violet Red
#A50055
ΔE00 4.11
Deep Pink
#CB0162
ΔE00 4.92
Light Burgundy
#A8415B
ΔE00 5.28
Berry
#990F4B
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2259 #22AF78
analogous
#AF229F #AF2259 #AF3222
triadic
#AF2259 #59AF22 #2259AF
tetradic
#AF2259 #9FAF22 #22AF78 #3222AF
square
#AF2259 #9FAF22 #22AF78 #3222AF
split-complementary
#AF2259 #22AF32 #229FAF
monochromatic
#490E25 #7C183F #AF2259 #D83675 #E26998
Accessibility & contrast
On white
6.57
#AF2259 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#AF2259 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2259
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2259 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2259 | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464C5A
Deuteranopia (green-blind)
#6B6756
Tritanopia (blue-blind)
#BF003B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2259; /* rgb */ color: rgb(175, 34, 89); /* oklch */ color: oklch(50.2% 0.179 3.5);
Tailwind
colors: {
custom: {
50: '#cd6d87',
500: '#af2259',
950: '#000000',
},
}SCSS
$custom: #af2259; $custom-light: #cd6d87; $custom-dark: #000000;
JSON
{
"hex": "#af2259",
"rgb": {
"r": 175,
"g": 34,
"b": 89
},
"hsl": {
"h": 336.596,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.50222,
"c": 0.17886,
"h": 3.5
},
"luminance": 0.10979
}Semantic roles & 50–950 ramp
primary
#AF2259
secondary
#65C8A1
accent
#EAA73D
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C