#AF2B56#AF2B56
#AF2B56 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.8% C 0.170 H 6.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2B56 |
|---|---|
| RGB | rgb(175, 43, 86) |
| HSL | hsl(340, 61%, 43%) |
| HSV | hsv(340, 75%, 69%) |
| CMYK | cmyk(0%, 75.4%, 50.9%, 31.4%) |
| CIE-LAB | lab(40.44, 55.24, 7.19) |
| CIE-LCH | lch(40.44, 55.71, 7.42°) |
| OKLab | oklab(50.85% 0.1686 0.0187) |
| OKLCH | oklch(50.85% 0.17 6.3) |
| XYZ | xyz(20.2246, 11.5164, 9.9602) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.39
Raspberry (survey)
#B00149
ΔE00 3.73
Light Burgundy
#A8415B
ΔE00 3.80
Deep Pink
#CB0162
ΔE00 5.24
Violet Red
#A50055
ΔE00 5.82
Light Maroon
#A24857
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2B56 #2BAF84
analogous
#AF2B98 #AF2B56 #AF422B
triadic
#AF2B56 #56AF2B #2B56AF
tetradic
#AF2B56 #98AF2B #2BAF84 #422BAF
square
#AF2B56 #98AF2B #2BAF84 #422BAF
split-complementary
#AF2B56 #2BAF42 #2B98AF
monochromatic
#4D1326 #7E1F3E #AF2B56 #D14673 #DE7798
Accessibility & contrast
On white
6.36
#AF2B56 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#AF2B56 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2B56
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2B56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2B56 | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4F57
Deuteranopia (green-blind)
#6E6953
Tritanopia (blue-blind)
#BF093D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2b56; /* rgb */ color: rgb(175, 43, 86); /* oklch */ color: oklch(50.8% 0.170 6.3);
Tailwind
colors: {
custom: {
50: '#cd7085',
500: '#af2b56',
950: '#000000',
},
}SCSS
$custom: #af2b56; $custom-light: #cd7085; $custom-dark: #000000;
JSON
{
"hex": "#af2b56",
"rgb": {
"r": 175,
"g": 43,
"b": 86
},
"hsl": {
"h": 340.455,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.50848,
"c": 0.16965,
"h": 6.3
},
"luminance": 0.11514
}Semantic roles & 50–950 ramp
primary
#AF2B56
secondary
#70C5AA
accent
#E4B044
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C