#AF418D#AF418D
#AF418D is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.1% C 0.167 H 341.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AF418D |
|---|---|
| RGB | rgb(175, 65, 141) |
| HSL | hsl(319, 46%, 47%) |
| HSV | hsv(319, 63%, 69%) |
| CMYK | cmyk(0%, 62.9%, 19.4%, 31.4%) |
| CIE-LAB | lab(45.39, 53.08, -19.46) |
| CIE-LCH | lch(45.39, 56.54, 339.87°) |
| OKLab | oklab(55.11% 0.1583 -0.0521) |
| OKLCH | oklch(55.11% 0.167 341.8) |
| XYZ | xyz(24.3778, 14.8198, 26.7708) |
| Luminance | 0.1482 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 5.47
Mediumvioletred
#C71585
ΔE00 5.60
Purpleish
#98568D
ΔE00 6.11
Light Plum
#9D5783
ΔE00 6.43
Purplish
#94568C
ΔE00 6.75
Medium Purple
#9E43A2
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF418D #41AF63
analogous
#9A41AF #AF418D #AF4156
triadic
#AF418D #8DAF41 #418DAF
tetradic
#AF418D #AF9A41 #41AF63 #4156AF
square
#AF418D #AF9A41 #41AF63 #4156AF
split-complementary
#AF418D #56AF41 #41AF9A
monochromatic
#562045 #823069 #AF418D #C667A9 #D793C2
Accessibility & contrast
On white
5.30
#AF418D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#AF418D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF418D
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF418D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF418D | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#49608F
Deuteranopia (green-blind)
#69728A
Tritanopia (blue-blind)
#B94261
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #af418d; /* rgb */ color: rgb(175, 65, 141); /* oklch */ color: oklch(55.1% 0.167 341.8);
Tailwind
colors: {
custom: {
50: '#ca7cae',
500: '#af418d',
950: '#000000',
},
}SCSS
$custom: #af418d; $custom-light: #ca7cae; $custom-dark: #000000;
JSON
{
"hex": "#af418d",
"rgb": {
"r": 175,
"g": 65,
"b": 141
},
"hsl": {
"h": 318.545,
"s": 45.833,
"l": 47.059
},
"oklch": {
"l": 0.55105,
"c": 0.16668,
"h": 341.8
},
"luminance": 0.14818
}Semantic roles & 50–950 ramp
primary
#AF418D
secondary
#89C29B
accent
#D57B52
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F