#AF419A#AF419A
#AF419A is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.7% C 0.176 H 336.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #AF419A |
|---|---|
| RGB | rgb(175, 65, 154) |
| HSL | hsl(311, 46%, 47%) |
| HSV | hsv(311, 63%, 69%) |
| CMYK | cmyk(0%, 62.9%, 12%, 31.4%) |
| CIE-LAB | lab(45.95, 55.06, -26.40) |
| CIE-LCH | lch(45.95, 61.06, 334.38°) |
| OKLab | oklab(55.7% 0.1607 -0.0717) |
| OKLCH | oklch(55.7% 0.176 336) |
| XYZ | xyz(25.4025, 15.2297, 32.1673) |
| Luminance | 0.1523 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.03
Medium Purple
#9E43A2
ΔE00 4.47
Purpley Pink
#C83CB9
ΔE00 6.35
Purpleish
#98568D
ΔE00 6.44
Purplish
#94568C
ΔE00 6.98
Mediumvioletred
#C71585
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF419A #41AF56
analogous
#8D41AF #AF419A #AF4163
triadic
#AF419A #9AAF41 #419AAF
tetradic
#AF419A #AF8D41 #41AF56 #4163AF
square
#AF419A #AF8D41 #41AF56 #4163AF
split-complementary
#AF419A #63AF41 #41AF8D
monochromatic
#56204B #823073 #AF419A #C667B4 #D793CA
Accessibility & contrast
On white
5.19
#AF419A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#AF419A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF419A
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF419A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF419A | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42629D
Deuteranopia (green-blind)
#657397
Tritanopia (blue-blind)
#B74767
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #af419a; /* rgb */ color: rgb(175, 65, 154); /* oklch */ color: oklch(55.7% 0.176 336.0);
Tailwind
colors: {
custom: {
50: '#ca7db8',
500: '#af419a',
950: '#000000',
},
}SCSS
$custom: #af419a; $custom-light: #ca7db8; $custom-dark: #000000;
JSON
{
"hex": "#af419a",
"rgb": {
"r": 175,
"g": 65,
"b": 154
},
"hsl": {
"h": 311.455,
"s": 45.833,
"l": 47.059
},
"oklch": {
"l": 0.55699,
"c": 0.176,
"h": 336
},
"luminance": 0.15228
}Semantic roles & 50–950 ramp
primary
#AF419A
secondary
#89C294
accent
#D56B52
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80