#AF389A#AF389A
#AF389A is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.7% C 0.188 H 335.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #AF389A |
|---|---|
| RGB | rgb(175, 56, 154) |
| HSL | hsl(311, 52%, 45%) |
| HSV | hsv(311, 68%, 69%) |
| CMYK | cmyk(0%, 68%, 12%, 31.4%) |
| CIE-LAB | lab(44.63, 58.72, -28.45) |
| CIE-LCH | lch(44.63, 65.25, 334.15°) |
| OKLab | oklab(54.74% 0.1716 -0.0775) |
| OKLCH | oklch(54.74% 0.188 335.7) |
| XYZ | xyz(24.9264, 14.2775, 32.0086) |
| Luminance | 0.1427 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.87
Medium Purple
#9E43A2
ΔE00 4.19
Warm Purple
#952E8F
ΔE00 6.04
Purpley Pink
#C83CB9
ΔE00 6.79
Mediumvioletred
#C71585
ΔE00 6.90
Barney
#AC1DB8
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF389A #38AF4D
analogous
#8838AF #AF389A #AF385F
triadic
#AF389A #9AAF38 #389AAF
tetradic
#AF389A #AF8838 #38AF4D #385FAF
square
#AF389A #AF8838 #38AF4D #385FAF
split-complementary
#AF389A #5FAF38 #38AF88
monochromatic
#521A48 #812971 #AF389A #CA5AB6 #D988CB
Accessibility & contrast
On white
5.45
#AF389A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#AF389A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF389A
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF389A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF389A | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#395E9D
Deuteranopia (green-blind)
#607097
Tritanopia (blue-blind)
#B84064
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #af389a; /* rgb */ color: rgb(175, 56, 154); /* oklch */ color: oklch(54.7% 0.188 335.7);
Tailwind
colors: {
custom: {
50: '#ca78b8',
500: '#af389a',
950: '#000000',
},
}SCSS
$custom: #af389a; $custom-light: #ca78b8; $custom-dark: #000000;
JSON
{
"hex": "#af389a",
"rgb": {
"r": 175,
"g": 56,
"b": 154
},
"hsl": {
"h": 310.588,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.54738,
"c": 0.18824,
"h": 335.7
},
"luminance": 0.14275
}Semantic roles & 50–950 ramp
primary
#AF389A
secondary
#80C38C
accent
#DB664D
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80