#AF2E6E#AF2E6E
#AF2E6E is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.174 H 354.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E6E |
|---|---|
| RGB | rgb(175, 46, 110) |
| HSL | hsl(330, 58%, 43%) |
| HSV | hsv(330, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 37.1%, 31.4%) |
| CIE-LAB | lab(41.53, 56.56, -6.30) |
| CIE-LCH | lch(41.53, 56.91, 353.65°) |
| OKLab | oklab(51.89% 0.1735 -0.0159) |
| OKLCH | oklch(51.89% 0.174 354.8) |
| XYZ | xyz(21.4720, 12.1963, 15.9722) |
| Luminance | 0.1219 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.04
Mediumvioletred
#C71585
ΔE00 5.67
Deep Magenta
#A0025C
ΔE00 6.07
Violet Red
#A50055
ΔE00 6.27
Dark Fuchsia
#9D0759
ΔE00 6.46
Deep Pink
#CB0162
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E6E #2EAF6F
analogous
#AF2EAE #AF2E6E #AF2F2E
triadic
#AF2E6E #6EAF2E #2E6EAF
tetradic
#AF2E6E #AEAF2E #2EAF6F #2F2EAF
square
#AF2E6E #AEAF2E #2EAF6F #2F2EAF
split-complementary
#AF2E6E #2EAF2F #2EAEAF
monochromatic
#4E1531 #7F2150 #AF2E6E #D04B8D #DC7BAB
Accessibility & contrast
On white
6.11
#AF2E6E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#AF2E6E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E6E
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E6E | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#465370
Deuteranopia (green-blind)
#6A6B6B
Tritanopia (blue-blind)
#BD214A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #af2e6e; /* rgb */ color: rgb(175, 46, 110); /* oklch */ color: oklch(51.9% 0.174 354.8);
Tailwind
colors: {
custom: {
50: '#cc7297',
500: '#af2e6e',
950: '#000000',
},
}SCSS
$custom: #af2e6e; $custom-light: #cc7297; $custom-dark: #000000;
JSON
{
"hex": "#af2e6e",
"rgb": {
"r": 175,
"g": 46,
"b": 110
},
"hsl": {
"h": 330.233,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.51887,
"c": 0.17423,
"h": 354.8
},
"luminance": 0.12194
}Semantic roles & 50–950 ramp
primary
#AF2E6E
secondary
#74C59D
accent
#E29546
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E