#AF2E5C#AF2E5C
#AF2E5C is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.168 H 3.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E5C |
|---|---|
| RGB | rgb(175, 46, 92) |
| HSL | hsl(339, 58%, 43%) |
| HSV | hsv(339, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 47.4%, 31.4%) |
| CIE-LAB | lab(40.97, 54.75, 4.16) |
| CIE-LCH | lch(40.97, 54.90, 4.35°) |
| OKLab | oklab(51.29% 0.1675 0.0112) |
| OKLCH | oklch(51.29% 0.168 3.8) |
| XYZ | xyz(20.5896, 11.8434, 11.3249) |
| Luminance | 0.1184 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.89
Purplish Red
#B0054B
ΔE00 4.49
Deep Pink
#CB0162
ΔE00 4.88
Raspberry (survey)
#B00149
ΔE00 4.92
Violet Red
#A50055
ΔE00 5.53
Berry
#990F4B
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E5C #2EAF81
analogous
#AF2E9C #AF2E5C #AF412E
triadic
#AF2E5C #5CAF2E #2E5CAF
tetradic
#AF2E5C #9CAF2E #2EAF81 #412EAF
square
#AF2E5C #9CAF2E #2EAF81 #412EAF
split-complementary
#AF2E5C #2EAF41 #2E9CAF
monochromatic
#4E1529 #7F2143 #AF2E5C #D04B7A #DC7B9E
Accessibility & contrast
On white
6.23
#AF2E5C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#AF2E5C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E5C
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E5C | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C505D
Deuteranopia (green-blind)
#6E6A59
Tritanopia (blue-blind)
#BE1541
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af2e5c; /* rgb */ color: rgb(175, 46, 92); /* oklch */ color: oklch(51.3% 0.168 3.8);
Tailwind
colors: {
custom: {
50: '#cc7289',
500: '#af2e5c',
950: '#000000',
},
}SCSS
$custom: #af2e5c; $custom-light: #cc7289; $custom-dark: #000000;
JSON
{
"hex": "#af2e5c",
"rgb": {
"r": 175,
"g": 46,
"b": 92
},
"hsl": {
"h": 338.605,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.51292,
"c": 0.16791,
"h": 3.8
},
"luminance": 0.11841
}Semantic roles & 50–950 ramp
primary
#AF2E5C
secondary
#74C5A8
accent
#E2AA46
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090B
muted
#837B7C