#AF2E53#AF2E53
#AF2E53 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.0% C 0.166 H 8.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E53 |
|---|---|
| RGB | rgb(175, 46, 83) |
| HSL | hsl(343, 58%, 43%) |
| HSV | hsv(343, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 52.6%, 31.4%) |
| CIE-LAB | lab(40.73, 53.96, 9.49) |
| CIE-LCH | lch(40.73, 54.79, 9.98°) |
| OKLab | oklab(51.04% 0.1642 0.0244) |
| OKLCH | oklch(51.04% 0.166 8.4) |
| XYZ | xyz(20.2193, 11.6953, 9.3746) |
| Luminance | 0.1169 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.43
Purplish Red
#B0054B
ΔE00 3.64
Raspberry (survey)
#B00149
ΔE00 3.84
Light Maroon
#A24857
ΔE00 5.41
Dark Rose
#B5485D
ΔE00 5.58
Deep Pink
#CB0162
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E53 #2EAF8A
analogous
#AF2E93 #AF2E53 #AF4A2E
triadic
#AF2E53 #53AF2E #2E53AF
tetradic
#AF2E53 #93AF2E #2EAF8A #4A2EAF
square
#AF2E53 #93AF2E #2EAF8A #4A2EAF
split-complementary
#AF2E53 #2EAF4A #2E93AF
monochromatic
#4E1525 #7F213C #AF2E53 #D04B71 #DC7B97
Accessibility & contrast
On white
6.29
#AF2E53 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#AF2E53 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E53
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E53 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E53 | 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)
#4E4F54
Deuteranopia (green-blind)
#706950
Tritanopia (blue-blind)
#BF0F3D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2e53; /* rgb */ color: rgb(175, 46, 83); /* oklch */ color: oklch(51.0% 0.166 8.4);
Tailwind
colors: {
custom: {
50: '#cd7183',
500: '#af2e53',
950: '#000000',
},
}SCSS
$custom: #af2e53; $custom-light: #cd7183; $custom-dark: #000000;
JSON
{
"hex": "#af2e53",
"rgb": {
"r": 175,
"g": 46,
"b": 83
},
"hsl": {
"h": 342.791,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.51038,
"c": 0.16596,
"h": 8.4
},
"luminance": 0.11692
}Semantic roles & 50–950 ramp
primary
#AF2E53
secondary
#74C5AE
accent
#E2B546
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C