#AF549A#AF549A
#AF549A is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.1% C 0.146 H 336.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AF549A |
|---|---|
| RGB | rgb(175, 84, 154) |
| HSL | hsl(314, 36%, 51%) |
| HSV | hsv(314, 52%, 69%) |
| CMYK | cmyk(0%, 52%, 12%, 31.4%) |
| CIE-LAB | lab(49.24, 46.18, -21.31) |
| CIE-LCH | lch(49.24, 50.86, 335.23°) |
| OKLab | oklab(58.13% 0.1346 -0.0575) |
| OKLCH | oklch(58.13% 0.146 336.9) |
| XYZ | xyz(26.6824, 17.7896, 32.5940) |
| Luminance | 0.1779 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 4.92
Purplish
#94568C
ΔE00 5.74
Light Plum
#9D5783
ΔE00 5.88
Ugly Purple
#A442A0
ΔE00 6.19
Purplish Pink
#CE5DAE
ΔE00 7.18
Purpley Pink
#C83CB9
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF549A #54AF69
analogous
#9654AF #AF549A #AF546C
triadic
#AF549A #9AAF54 #549AAF
tetradic
#AF549A #AF9654 #54AF69 #546CAF
square
#AF549A #AF9654 #54AF69 #546CAF
split-complementary
#AF549A #6CAF54 #54AF96
monochromatic
#5D2C52 #873F76 #AF549A #C37EB3 #D6A7CB
Accessibility & contrast
On white
4.61
#AF549A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#AF549A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #AF549A
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF549A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF549A | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#566C9C
Deuteranopia (green-blind)
#6F7A98
Tritanopia (blue-blind)
#B75870
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #af549a; /* rgb */ color: rgb(175, 84, 154); /* oklch */ color: oklch(58.1% 0.146 336.9);
Tailwind
colors: {
custom: {
50: '#c988b8',
500: '#af549a',
950: '#000000',
},
}SCSS
$custom: #af549a; $custom-light: #c988b8; $custom-dark: #000000;
JSON
{
"hex": "#af549a",
"rgb": {
"r": 175,
"g": 84,
"b": 154
},
"hsl": {
"h": 313.846,
"s": 36.255,
"l": 50.784
},
"oklch": {
"l": 0.58126,
"c": 0.14639,
"h": 336.9
},
"luminance": 0.17788
}Semantic roles & 50–950 ramp
primary
#AF549A
secondary
#9BC4A5
accent
#CC765C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C11
muted
#827D80