#AF2C5C#AF2C5C
#AF2C5C is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.170 H 3.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2C5C |
|---|---|
| RGB | rgb(175, 44, 92) |
| HSL | hsl(338, 60%, 43%) |
| HSV | hsv(338, 75%, 69%) |
| CMYK | cmyk(0%, 74.9%, 47.4%, 31.4%) |
| CIE-LAB | lab(40.72, 55.43, 3.81) |
| CIE-LCH | lch(40.72, 55.56, 3.93°) |
| OKLab | oklab(51.11% 0.1697 0.0103) |
| OKLCH | oklch(51.11% 0.17 3.5) |
| XYZ | xyz(20.5133, 11.6908, 11.2995) |
| Luminance | 0.1169 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.21
Purplish Red
#B0054B
ΔE00 4.38
Raspberry (survey)
#B00149
ΔE00 4.82
Deep Pink
#CB0162
ΔE00 4.83
Violet Red
#A50055
ΔE00 5.21
Berry
#990F4B
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2C5C #2CAF7F
analogous
#AF2C9D #AF2C5C #AF3D2C
triadic
#AF2C5C #5CAF2C #2C5CAF
tetradic
#AF2C5C #9DAF2C #2CAF7F #3D2CAF
square
#AF2C5C #9DAF2C #2CAF7F #3D2CAF
split-complementary
#AF2C5C #2CAF3D #2C9DAF
monochromatic
#4D1329 #7E2042 #AF2C5C #D1477A #DD789D
Accessibility & contrast
On white
6.29
#AF2C5C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#AF2C5C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2C5C
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2C5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2C5C | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B505D
Deuteranopia (green-blind)
#6E6959
Tritanopia (blue-blind)
#BE1140
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2c5c; /* rgb */ color: rgb(175, 44, 92); /* oklch */ color: oklch(51.1% 0.170 3.5);
Tailwind
colors: {
custom: {
50: '#cc7189',
500: '#af2c5c',
950: '#000000',
},
}SCSS
$custom: #af2c5c; $custom-light: #cc7189; $custom-dark: #000000;
JSON
{
"hex": "#af2c5c",
"rgb": {
"r": 175,
"g": 44,
"b": 92
},
"hsl": {
"h": 338.015,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.51111,
"c": 0.17005,
"h": 3.5
},
"luminance": 0.11688
}Semantic roles & 50–950 ramp
primary
#AF2C5C
secondary
#72C5A7
accent
#E3A945
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C