#AF2756#AF2756
#AF2756 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.174 H 5.7°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2756 |
|---|---|
| RGB | rgb(175, 39, 86) |
| HSL | hsl(339, 64%, 42%) |
| HSV | hsv(339, 78%, 69%) |
| CMYK | cmyk(0%, 77.7%, 50.9%, 31.4%) |
| CIE-LAB | lab(39.98, 56.52, 6.54) |
| CIE-LCH | lch(39.98, 56.90, 6.60°) |
| OKLab | oklab(50.51% 0.1727 0.0171) |
| OKLCH | oklch(50.51% 0.174 5.7) |
| XYZ | xyz(20.0862, 11.2397, 9.9141) |
| Luminance | 0.1124 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.05
Raspberry (survey)
#B00149
ΔE00 3.45
Light Burgundy
#A8415B
ΔE00 4.36
Deep Pink
#CB0162
ΔE00 5.11
Violet Red
#A50055
ΔE00 5.19
Berry
#990F4B
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2756 #27AF80
analogous
#AF279A #AF2756 #AF3C27
triadic
#AF2756 #56AF27 #2756AF
tetradic
#AF2756 #9AAF27 #27AF80 #3C27AF
square
#AF2756 #9AAF27 #27AF80 #3C27AF
split-complementary
#AF2756 #27AF3C #279AAF
monochromatic
#4B1125 #7D1C3D #AF2756 #D43F73 #DF7197
Accessibility & contrast
On white
6.47
#AF2756 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#AF2756 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2756
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2756 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2756 | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4D57
Deuteranopia (green-blind)
#6D6853
Tritanopia (blue-blind)
#BF003B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2756; /* rgb */ color: rgb(175, 39, 86); /* oklch */ color: oklch(50.5% 0.174 5.7);
Tailwind
colors: {
custom: {
50: '#cd6f85',
500: '#af2756',
950: '#000000',
},
}SCSS
$custom: #af2756; $custom-light: #cd6f85; $custom-dark: #000000;
JSON
{
"hex": "#af2756",
"rgb": {
"r": 175,
"g": 39,
"b": 86
},
"hsl": {
"h": 339.265,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.50512,
"c": 0.17359,
"h": 5.7
},
"luminance": 0.11237
}Semantic roles & 50–950 ramp
primary
#AF2756
secondary
#6BC6A7
accent
#E7AD41
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C