#AF549E#AF549E
#AF549E is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.3% C 0.150 H 334.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).
Color values
| HEX | #AF549E |
|---|---|
| RGB | rgb(175, 84, 158) |
| HSL | hsl(311, 36%, 51%) |
| HSV | hsv(311, 52%, 69%) |
| CMYK | cmyk(0%, 52%, 9.7%, 31.4%) |
| CIE-LAB | lab(49.41, 46.85, -23.42) |
| CIE-LCH | lch(49.41, 52.38, 333.44°) |
| OKLab | oklab(58.3% 0.1355 -0.0634) |
| OKLCH | oklch(58.3% 0.15 334.9) |
| XYZ | xyz(27.0211, 17.9251, 34.3778) |
| Luminance | 0.1792 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 5.23
Ugly Purple
#A442A0
ΔE00 5.74
Purplish
#94568C
ΔE00 5.98
Purpley Pink
#C83CB9
ΔE00 6.60
Light Plum
#9D5783
ΔE00 6.62
Pinky Purple
#C94CBE
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF549E #54AF65
analogous
#9254AF #AF549E #AF5470
triadic
#AF549E #9EAF54 #549EAF
tetradic
#AF549E #AF9254 #54AF65 #5470AF
square
#AF549E #AF9254 #54AF65 #5470AF
split-complementary
#AF549E #70AF54 #54AF92
monochromatic
#5D2C54 #873F79 #AF549E #C37EB6 #D6A7CD
Accessibility & contrast
On white
4.58
#AF549E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#AF549E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF549E
4.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF549E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF549E | 1.00 | 4.58 | 4.58 | 4.58 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#546DA0
Deuteranopia (green-blind)
#6E7A9B
Tritanopia (blue-blind)
#B65972
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #af549e; /* rgb */ color: rgb(175, 84, 158); /* oklch */ color: oklch(58.3% 0.150 334.9);
Tailwind
colors: {
custom: {
50: '#c988bb',
500: '#af549e',
950: '#000000',
},
}SCSS
$custom: #af549e; $custom-light: #c988bb; $custom-dark: #000000;
JSON
{
"hex": "#af549e",
"rgb": {
"r": 175,
"g": 84,
"b": 158
},
"hsl": {
"h": 311.209,
"s": 36.255,
"l": 50.784
},
"oklch": {
"l": 0.58303,
"c": 0.14962,
"h": 334.9
},
"luminance": 0.17923
}Semantic roles & 50–950 ramp
primary
#AF549E
secondary
#9BC4A3
accent
#CC715C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C11
muted
#827D80