#AF2856#AF2856
#AF2856 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.173 H 5.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2856 |
|---|---|
| RGB | rgb(175, 40, 86) |
| HSL | hsl(340, 63%, 42%) |
| HSV | hsv(340, 77%, 69%) |
| CMYK | cmyk(0%, 77.1%, 50.9%, 31.4%) |
| CIE-LAB | lab(40.09, 56.21, 6.70) |
| CIE-LCH | lch(40.09, 56.61, 6.80°) |
| OKLab | oklab(50.59% 0.1717 0.0175) |
| OKLCH | oklch(50.59% 0.173 5.8) |
| XYZ | xyz(20.1195, 11.3062, 9.9252) |
| Luminance | 0.1130 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.12
Raspberry (survey)
#B00149
ΔE00 3.51
Light Burgundy
#A8415B
ΔE00 4.22
Deep Pink
#CB0162
ΔE00 5.13
Violet Red
#A50055
ΔE00 5.34
Berry
#990F4B
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2856 #28AF81
analogous
#AF2899 #AF2856 #AF3E28
triadic
#AF2856 #56AF28 #2856AF
tetradic
#AF2856 #99AF28 #28AF81 #3E28AF
square
#AF2856 #99AF28 #28AF81 #3E28AF
split-complementary
#AF2856 #28AF3E #2899AF
monochromatic
#4B1125 #7D1D3E #AF2856 #D44173 #DF7397
Accessibility & contrast
On white
6.44
#AF2856 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#AF2856 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2856
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2856 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2856 | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4D57
Deuteranopia (green-blind)
#6E6853
Tritanopia (blue-blind)
#BF003C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2856; /* rgb */ color: rgb(175, 40, 86); /* oklch */ color: oklch(50.6% 0.173 5.8);
Tailwind
colors: {
custom: {
50: '#cd6f85',
500: '#af2856',
950: '#000000',
},
}SCSS
$custom: #af2856; $custom-light: #cd6f85; $custom-dark: #000000;
JSON
{
"hex": "#af2856",
"rgb": {
"r": 175,
"g": 40,
"b": 86
},
"hsl": {
"h": 339.556,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.50594,
"c": 0.17263,
"h": 5.8
},
"luminance": 0.11303
}Semantic roles & 50–950 ramp
primary
#AF2856
secondary
#6DC6A8
accent
#E6AE42
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C