#AF2E61#AF2E61
#AF2E61 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.169 H 1.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E61 |
|---|---|
| RGB | rgb(175, 46, 97) |
| HSL | hsl(336, 58%, 43%) |
| HSV | hsv(336, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 44.6%, 31.4%) |
| CIE-LAB | lab(41.11, 55.22, 1.23) |
| CIE-LCH | lch(41.11, 55.23, 1.27°) |
| OKLab | oklab(51.45% 0.1693 0.0038) |
| OKLCH | oklch(51.45% 0.169 1.3) |
| XYZ | xyz(20.8155, 11.9337, 12.5143) |
| Luminance | 0.1193 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.76
Deep Pink
#CB0162
ΔE00 4.92
Violet Red
#A50055
ΔE00 5.28
Purplish Red
#B0054B
ΔE00 5.48
Raspberry (survey)
#B00149
ΔE00 5.95
Magenta (survey)
#C20078
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E61 #2EAF7C
analogous
#AF2EA1 #AF2E61 #AF3B2E
triadic
#AF2E61 #61AF2E #2E61AF
tetradic
#AF2E61 #A1AF2E #2EAF7C #3B2EAF
square
#AF2E61 #A1AF2E #2EAF7C #3B2EAF
split-complementary
#AF2E61 #2EAF3B #2EA1AF
monochromatic
#4E152B #7F2146 #AF2E61 #D04B7F #DC7BA2
Accessibility & contrast
On white
6.20
#AF2E61 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#AF2E61 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E61
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E61 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E61 | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B5162
Deuteranopia (green-blind)
#6D6A5E
Tritanopia (blue-blind)
#BE1944
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af2e61; /* rgb */ color: rgb(175, 46, 97); /* oklch */ color: oklch(51.4% 0.169 1.3);
Tailwind
colors: {
custom: {
50: '#cc728d',
500: '#af2e61',
950: '#000000',
},
}SCSS
$custom: #af2e61; $custom-light: #cc728d; $custom-dark: #000000;
JSON
{
"hex": "#af2e61",
"rgb": {
"r": 175,
"g": 46,
"b": 97
},
"hsl": {
"h": 336.279,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.51446,
"c": 0.16934,
"h": 1.3
},
"luminance": 0.11931
}Semantic roles & 50–950 ramp
primary
#AF2E61
secondary
#74C5A5
accent
#E2A446
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D