#AF2B5A#AF2B5A
#AF2B5A is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.171 H 4.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2B5A |
|---|---|
| RGB | rgb(175, 43, 90) |
| HSL | hsl(339, 61%, 43%) |
| HSV | hsv(339, 75%, 69%) |
| CMYK | cmyk(0%, 75.4%, 48.6%, 31.4%) |
| CIE-LAB | lab(40.55, 55.59, 4.82) |
| CIE-LCH | lch(40.55, 55.80, 4.95°) |
| OKLab | oklab(50.96% 0.1701 0.0129) |
| OKLCH | oklch(50.96% 0.171 4.3) |
| XYZ | xyz(20.3903, 11.5827, 10.8328) |
| Luminance | 0.1158 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.96
Light Burgundy
#A8415B
ΔE00 4.11
Raspberry (survey)
#B00149
ΔE00 4.39
Deep Pink
#CB0162
ΔE00 4.89
Violet Red
#A50055
ΔE00 5.25
Berry
#990F4B
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2B5A #2BAF80
analogous
#AF2B9C #AF2B5A #AF3E2B
triadic
#AF2B5A #5AAF2B #2B5AAF
tetradic
#AF2B5A #9CAF2B #2BAF80 #3E2BAF
square
#AF2B5A #9CAF2B #2BAF80 #3E2BAF
split-complementary
#AF2B5A #2BAF3E #2B9CAF
monochromatic
#4D1327 #7E1F41 #AF2B5A #D14677 #DE779B
Accessibility & contrast
On white
6.33
#AF2B5A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#AF2B5A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2B5A
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2B5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2B5A | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4F5B
Deuteranopia (green-blind)
#6E6957
Tritanopia (blue-blind)
#BF0D3F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2b5a; /* rgb */ color: rgb(175, 43, 90); /* oklch */ color: oklch(51.0% 0.171 4.3);
Tailwind
colors: {
custom: {
50: '#cd7088',
500: '#af2b5a',
950: '#000000',
},
}SCSS
$custom: #af2b5a; $custom-light: #cd7088; $custom-dark: #000000;
JSON
{
"hex": "#af2b5a",
"rgb": {
"r": 175,
"g": 43,
"b": 90
},
"hsl": {
"h": 338.636,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.50963,
"c": 0.17058,
"h": 4.3
},
"luminance": 0.1158
}Semantic roles & 50–950 ramp
primary
#AF2B5A
secondary
#70C5A7
accent
#E4AB44
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C