#AF2E6A#AF2E6A
#AF2E6A is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.7% C 0.173 H 356.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E6A |
|---|---|
| RGB | rgb(175, 46, 106) |
| HSL | hsl(332, 58%, 43%) |
| HSV | hsv(332, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 39.4%, 31.4%) |
| CIE-LAB | lab(41.39, 56.13, -4.00) |
| CIE-LCH | lch(41.39, 56.27, 355.93°) |
| OKLab | oklab(51.75% 0.1723 -0.0098) |
| OKLCH | oklch(51.75% 0.173 356.7) |
| XYZ | xyz(21.2592, 12.1112, 14.8511) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.62
Violet Red
#A50055
ΔE00 5.77
Deep Pink
#CB0162
ΔE00 5.88
Deep Magenta
#A0025C
ΔE00 5.98
Dark Fuchsia
#9D0759
ΔE00 6.29
Mediumvioletred
#C71585
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E6A #2EAF73
analogous
#AF2EAA #AF2E6A #AF322E
triadic
#AF2E6A #6AAF2E #2E6AAF
tetradic
#AF2E6A #AAAF2E #2EAF73 #322EAF
square
#AF2E6A #AAAF2E #2EAF73 #322EAF
split-complementary
#AF2E6A #2EAF32 #2EAAAF
monochromatic
#4E152F #7F214D #AF2E6A #D04B88 #DC7BA8
Accessibility & contrast
On white
6.14
#AF2E6A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#AF2E6A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E6A
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E6A | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48526C
Deuteranopia (green-blind)
#6B6A67
Tritanopia (blue-blind)
#BD1E48
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #af2e6a; /* rgb */ color: rgb(175, 46, 106); /* oklch */ color: oklch(51.7% 0.173 356.7);
Tailwind
colors: {
custom: {
50: '#cc7294',
500: '#af2e6a',
950: '#000000',
},
}SCSS
$custom: #af2e6a; $custom-light: #cc7294; $custom-dark: #000000;
JSON
{
"hex": "#af2e6a",
"rgb": {
"r": 175,
"g": 46,
"b": 106
},
"hsl": {
"h": 332.093,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.51745,
"c": 0.17256,
"h": 356.7
},
"luminance": 0.12109
}Semantic roles & 50–950 ramp
primary
#AF2E6A
secondary
#74C59F
accent
#E29946
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14090D
muted
#837B7E