#AF478D#AF478D
#AF478D is a mid, vivid pink. Relative luminance 0.155; OKLCH L 55.8% C 0.158 H 342.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #AF478D |
|---|---|
| RGB | rgb(175, 71, 141) |
| HSL | hsl(320, 42%, 48%) |
| HSV | hsv(320, 59%, 69%) |
| CMYK | cmyk(0%, 59.4%, 19.4%, 31.4%) |
| CIE-LAB | lab(46.37, 50.40, -17.94) |
| CIE-LCH | lch(46.37, 53.50, 340.40°) |
| OKLab | oklab(55.83% 0.1502 -0.0479) |
| OKLCH | oklch(55.83% 0.158 342.3) |
| XYZ | xyz(24.7408, 15.5457, 26.8917) |
| Luminance | 0.1554 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.47
Purpleish
#98568D
ΔE00 5.49
Ugly Purple
#A442A0
ΔE00 6.09
Purplish
#94568C
ΔE00 6.23
Mediumvioletred
#C71585
ΔE00 6.25
Medium Purple
#9E43A2
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF478D #47AF69
analogous
#9D47AF #AF478D #AF4759
triadic
#AF478D #8DAF47 #478DAF
tetradic
#AF478D #AF9D47 #47AF69 #4759AF
square
#AF478D #AF9D47 #47AF69 #4759AF
split-complementary
#AF478D #59AF47 #47AF9D
monochromatic
#582447 #83356A #AF478D #C46FA8 #D69AC3
Accessibility & contrast
On white
5.11
#AF478D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#AF478D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF478D
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF478D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF478D | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E638F
Deuteranopia (green-blind)
#6C748A
Tritanopia (blue-blind)
#B94864
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #af478d; /* rgb */ color: rgb(175, 71, 141); /* oklch */ color: oklch(55.8% 0.158 342.3);
Tailwind
colors: {
custom: {
50: '#ca80ae',
500: '#af478d',
950: '#000000',
},
}SCSS
$custom: #af478d; $custom-light: #ca80ae; $custom-dark: #000000;
JSON
{
"hex": "#af478d",
"rgb": {
"r": 175,
"g": 71,
"b": 141
},
"hsl": {
"h": 319.615,
"s": 42.276,
"l": 48.235
},
"oklch": {
"l": 0.55831,
"c": 0.15769,
"h": 342.3
},
"luminance": 0.15544
}Semantic roles & 50–950 ramp
primary
#AF478D
secondary
#8FC2A0
accent
#D27E56
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F