#AF2859#AF2859
#AF2859 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.173 H 4.3°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2859 |
|---|---|
| RGB | rgb(175, 40, 89) |
| HSL | hsl(338, 63%, 42%) |
| HSV | hsv(338, 77%, 69%) |
| CMYK | cmyk(0%, 77.1%, 49.1%, 31.4%) |
| CIE-LAB | lab(40.17, 56.47, 4.92) |
| CIE-LCH | lch(40.17, 56.68, 4.98°) |
| OKLab | oklab(50.68% 0.1728 0.0131) |
| OKLCH | oklch(50.68% 0.173 4.3) |
| XYZ | xyz(20.2429, 11.3556, 10.5752) |
| Luminance | 0.1135 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.62
Raspberry (survey)
#B00149
ΔE00 4.06
Light Burgundy
#A8415B
ΔE00 4.46
Deep Pink
#CB0162
ΔE00 4.90
Violet Red
#A50055
ΔE00 4.91
Berry
#990F4B
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2859 #28AF7E
analogous
#AF289D #AF2859 #AF3A28
triadic
#AF2859 #59AF28 #2859AF
tetradic
#AF2859 #9DAF28 #28AF7E #3A28AF
square
#AF2859 #9DAF28 #28AF7E #3A28AF
split-complementary
#AF2859 #28AF3A #289DAF
monochromatic
#4B1126 #7D1D40 #AF2859 #D44176 #DF739A
Accessibility & contrast
On white
6.42
#AF2859 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#AF2859 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2859
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2859 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2859 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494E5A
Deuteranopia (green-blind)
#6D6856
Tritanopia (blue-blind)
#BF033D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2859; /* rgb */ color: rgb(175, 40, 89); /* oklch */ color: oklch(50.7% 0.173 4.3);
Tailwind
colors: {
custom: {
50: '#cd6f87',
500: '#af2859',
950: '#000000',
},
}SCSS
$custom: #af2859; $custom-light: #cd6f87; $custom-dark: #000000;
JSON
{
"hex": "#af2859",
"rgb": {
"r": 175,
"g": 40,
"b": 89
},
"hsl": {
"h": 338.222,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.5068,
"c": 0.17334,
"h": 4.3
},
"luminance": 0.11353
}Semantic roles & 50–950 ramp
primary
#AF2859
secondary
#6DC6A6
accent
#E6AA42
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C