#AF2759#AF2759
#AF2759 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.174 H 4.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2759 |
|---|---|
| RGB | rgb(175, 39, 89) |
| HSL | hsl(338, 64%, 42%) |
| HSV | hsv(338, 78%, 69%) |
| CMYK | cmyk(0%, 77.7%, 49.1%, 31.4%) |
| CIE-LAB | lab(40.06, 56.78, 4.76) |
| CIE-LCH | lch(40.06, 56.98, 4.79°) |
| OKLab | oklab(50.6% 0.1738 0.0127) |
| OKLCH | oklch(50.6% 0.174 4.2) |
| XYZ | xyz(20.2096, 11.2890, 10.5641) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.58
Raspberry (survey)
#B00149
ΔE00 4.03
Light Burgundy
#A8415B
ΔE00 4.60
Violet Red
#A50055
ΔE00 4.77
Deep Pink
#CB0162
ΔE00 4.89
Berry
#990F4B
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2759 #27AF7D
analogous
#AF279D #AF2759 #AF3927
triadic
#AF2759 #59AF27 #2759AF
tetradic
#AF2759 #9DAF27 #27AF7D #3927AF
square
#AF2759 #9DAF27 #27AF7D #3927AF
split-complementary
#AF2759 #27AF39 #279DAF
monochromatic
#4B1126 #7D1C40 #AF2759 #D43F76 #DF719A
Accessibility & contrast
On white
6.45
#AF2759 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#AF2759 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2759
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2759 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2759 | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494D5A
Deuteranopia (green-blind)
#6D6856
Tritanopia (blue-blind)
#BF003D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2759; /* rgb */ color: rgb(175, 39, 89); /* oklch */ color: oklch(50.6% 0.174 4.2);
Tailwind
colors: {
custom: {
50: '#cd6f87',
500: '#af2759',
950: '#000000',
},
}SCSS
$custom: #af2759; $custom-light: #cd6f87; $custom-dark: #000000;
JSON
{
"hex": "#af2759",
"rgb": {
"r": 175,
"g": 39,
"b": 89
},
"hsl": {
"h": 337.941,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.50599,
"c": 0.1743,
"h": 4.2
},
"luminance": 0.11286
}Semantic roles & 50–950 ramp
primary
#AF2759
secondary
#6BC6A5
accent
#E7AA41
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C