#AF416E#AF416E
#AF416E is a mid, vivid pink. Relative luminance 0.140; OKLCH L 53.9% C 0.150 H 358.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #AF416E |
|---|---|
| RGB | rgb(175, 65, 110) |
| HSL | hsl(335, 46%, 47%) |
| HSV | hsv(335, 63%, 69%) |
| CMYK | cmyk(0%, 62.9%, 37.1%, 31.4%) |
| CIE-LAB | lab(44.27, 49.01, -2.24) |
| CIE-LCH | lch(44.27, 49.06, 357.39°) |
| OKLab | oklab(53.91% 0.1497 -0.0052) |
| OKLCH | oklch(53.91% 0.15 358) |
| XYZ | xyz(22.3853, 14.0228, 16.2766) |
| Luminance | 0.1402 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 5.32
Deep Pink
#CB0162
ΔE00 6.74
Dark Pink
#CB416B
ΔE00 6.79
Magenta (survey)
#C20078
ΔE00 6.87
Dark Rose
#B5485D
ΔE00 7.21
Deep Rose
#C74767
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF416E #41AF82
analogous
#AF41A5 #AF416E #AF4B41
triadic
#AF416E #6EAF41 #416EAF
tetradic
#AF416E #A5AF41 #41AF82 #4B41AF
square
#AF416E #A5AF41 #41AF82 #4B41AF
split-complementary
#AF416E #41AF4B #41A5AF
monochromatic
#562036 #823052 #AF416E #C6678E #D793AF
Accessibility & contrast
On white
5.52
#AF416E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#AF416E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF416E
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF416E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF416E | 1.00 | 5.52 | 3.80 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#545C6F
Deuteranopia (green-blind)
#72706B
Tritanopia (blue-blind)
#BD3753
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #af416e; /* rgb */ color: rgb(175, 65, 110); /* oklch */ color: oklch(53.9% 0.150 358.0);
Tailwind
colors: {
custom: {
50: '#cb7c97',
500: '#af416e',
950: '#000000',
},
}SCSS
$custom: #af416e; $custom-light: #cb7c97; $custom-dark: #000000;
JSON
{
"hex": "#af416e",
"rgb": {
"r": 175,
"g": 65,
"b": 110
},
"hsl": {
"h": 335.455,
"s": 45.833,
"l": 47.059
},
"oklch": {
"l": 0.53909,
"c": 0.14979,
"h": 358
},
"luminance": 0.1402
}Semantic roles & 50–950 ramp
primary
#AF416E
secondary
#89C2AB
accent
#D5A052
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0D
muted
#827C7E