#AF2C5B#AF2C5B
#AF2C5B is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.170 H 4.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2C5B |
|---|---|
| RGB | rgb(175, 44, 91) |
| HSL | hsl(338, 60%, 43%) |
| HSV | hsv(338, 75%, 69%) |
| CMYK | cmyk(0%, 74.9%, 48%, 31.4%) |
| CIE-LAB | lab(40.69, 55.34, 4.40) |
| CIE-LCH | lch(40.69, 55.52, 4.54°) |
| OKLab | oklab(51.08% 0.1694 0.0118) |
| OKLCH | oklch(51.08% 0.17 4) |
| XYZ | xyz(20.4699, 11.6734, 11.0708) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.08
Purplish Red
#B0054B
ΔE00 4.20
Raspberry (survey)
#B00149
ΔE00 4.63
Deep Pink
#CB0162
ΔE00 4.87
Violet Red
#A50055
ΔE00 5.30
Berry
#990F4B
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2C5B #2CAF80
analogous
#AF2C9C #AF2C5B #AF3E2C
triadic
#AF2C5B #5BAF2C #2C5BAF
tetradic
#AF2C5B #9CAF2C #2CAF80 #3E2CAF
square
#AF2C5B #9CAF2C #2CAF80 #3E2CAF
split-complementary
#AF2C5B #2CAF3E #2C9CAF
monochromatic
#4D1328 #7E2042 #AF2C5B #D14779 #DD789C
Accessibility & contrast
On white
6.30
#AF2C5B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#AF2C5B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2C5B
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2C5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2C5B | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B505C
Deuteranopia (green-blind)
#6E6958
Tritanopia (blue-blind)
#BE1040
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2c5b; /* rgb */ color: rgb(175, 44, 91); /* oklch */ color: oklch(51.1% 0.170 4.0);
Tailwind
colors: {
custom: {
50: '#cc7189',
500: '#af2c5b',
950: '#000000',
},
}SCSS
$custom: #af2c5b; $custom-light: #cc7189; $custom-dark: #000000;
JSON
{
"hex": "#af2c5b",
"rgb": {
"r": 175,
"g": 44,
"b": 91
},
"hsl": {
"h": 338.473,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.51081,
"c": 0.16979,
"h": 4
},
"luminance": 0.11671
}Semantic roles & 50–950 ramp
primary
#AF2C5B
secondary
#72C5A7
accent
#E3AA45
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C