#AF2755#AF2755
#AF2755 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.173 H 6.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2755 |
|---|---|
| RGB | rgb(175, 39, 85) |
| HSL | hsl(340, 64%, 42%) |
| HSV | hsv(340, 78%, 69%) |
| CMYK | cmyk(0%, 77.7%, 51.4%, 31.4%) |
| CIE-LAB | lab(39.95, 56.44, 7.14) |
| CIE-LCH | lch(39.95, 56.89, 7.21°) |
| OKLab | oklab(50.48% 0.1724 0.0186) |
| OKLCH | oklch(50.48% 0.173 6.2) |
| XYZ | xyz(20.0462, 11.2237, 9.7034) |
| Luminance | 0.1122 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.91
Raspberry (survey)
#B00149
ΔE00 3.29
Light Burgundy
#A8415B
ΔE00 4.31
Deep Pink
#CB0162
ΔE00 5.22
Violet Red
#A50055
ΔE00 5.36
Berry
#990F4B
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2755 #27AF81
analogous
#AF2799 #AF2755 #AF3D27
triadic
#AF2755 #55AF27 #2755AF
tetradic
#AF2755 #99AF27 #27AF81 #3D27AF
square
#AF2755 #99AF27 #27AF81 #3D27AF
split-complementary
#AF2755 #27AF3D #2799AF
monochromatic
#4B1124 #7D1C3D #AF2755 #D43F71 #DF7196
Accessibility & contrast
On white
6.47
#AF2755 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#AF2755 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2755
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2755 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2755 | 1.00 | 6.47 | 3.24 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4D56
Deuteranopia (green-blind)
#6D6852
Tritanopia (blue-blind)
#BF003B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2755; /* rgb */ color: rgb(175, 39, 85); /* oklch */ color: oklch(50.5% 0.173 6.2);
Tailwind
colors: {
custom: {
50: '#cd6f84',
500: '#af2755',
950: '#000000',
},
}SCSS
$custom: #af2755; $custom-light: #cd6f84; $custom-dark: #000000;
JSON
{
"hex": "#af2755",
"rgb": {
"r": 175,
"g": 39,
"b": 85
},
"hsl": {
"h": 339.706,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.50484,
"c": 0.17337,
"h": 6.2
},
"luminance": 0.11221
}Semantic roles & 50–950 ramp
primary
#AF2755
secondary
#6BC6A8
accent
#E7AF41
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C