#AF2F56#AF2F56
#AF2F56 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.2% C 0.165 H 7.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F56 |
|---|---|
| RGB | rgb(175, 47, 86) |
| HSL | hsl(342, 58%, 44%) |
| HSV | hsv(342, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 50.9%, 31.4%) |
| CIE-LAB | lab(40.93, 53.86, 7.89) |
| CIE-LCH | lch(40.93, 54.43, 8.33°) |
| OKLab | oklab(51.21% 0.1642 0.0205) |
| OKLCH | oklch(51.21% 0.165 7.1) |
| XYZ | xyz(20.3772, 11.8216, 10.0111) |
| Luminance | 0.1182 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.22
Purplish Red
#B0054B
ΔE00 3.86
Raspberry (survey)
#B00149
ΔE00 4.14
Deep Pink
#CB0162
ΔE00 5.47
Light Maroon
#A24857
ΔE00 5.55
Dark Rose
#B5485D
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F56 #2FAF88
analogous
#AF2F96 #AF2F56 #AF482F
triadic
#AF2F56 #56AF2F #2F56AF
tetradic
#AF2F56 #96AF2F #2FAF88 #482FAF
square
#AF2F56 #96AF2F #2FAF88 #482FAF
split-complementary
#AF2F56 #2FAF48 #2F96AF
monochromatic
#4F1527 #7F223E #AF2F56 #CF4C74 #DC7C9A
Accessibility & contrast
On white
6.24
#AF2F56 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#AF2F56 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F56
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F56 | 1.00 | 6.24 | 3.36 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5057
Deuteranopia (green-blind)
#706A53
Tritanopia (blue-blind)
#BF133F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2f56; /* rgb */ color: rgb(175, 47, 86); /* oklch */ color: oklch(51.2% 0.165 7.1);
Tailwind
colors: {
custom: {
50: '#cd7285',
500: '#af2f56',
950: '#000000',
},
}SCSS
$custom: #af2f56; $custom-light: #cd7285; $custom-dark: #000000;
JSON
{
"hex": "#af2f56",
"rgb": {
"r": 175,
"g": 47,
"b": 86
},
"hsl": {
"h": 341.719,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.51213,
"c": 0.16544,
"h": 7.1
},
"luminance": 0.11819
}Semantic roles & 50–950 ramp
primary
#AF2F56
secondary
#75C4AC
accent
#E1B247
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090B
muted
#837B7C