#AF549D#AF549D
#AF549D is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.3% C 0.149 H 335.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #AF549D |
|---|---|
| RGB | rgb(175, 84, 157) |
| HSL | hsl(312, 36%, 51%) |
| HSV | hsv(312, 52%, 69%) |
| CMYK | cmyk(0%, 52%, 10.3%, 31.4%) |
| CIE-LAB | lab(49.36, 46.68, -22.89) |
| CIE-LCH | lch(49.36, 51.99, 333.88°) |
| OKLab | oklab(58.26% 0.1353 -0.0619) |
| OKLCH | oklch(58.26% 0.149 335.4) |
| XYZ | xyz(26.9354, 17.8908, 33.9263) |
| Luminance | 0.1789 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 5.14
Ugly Purple
#A442A0
ΔE00 5.84
Purplish
#94568C
ΔE00 5.91
Light Plum
#9D5783
ΔE00 6.43
Purpley Pink
#C83CB9
ΔE00 6.75
Pinky Purple
#C94CBE
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF549D #54AF66
analogous
#9354AF #AF549D #AF546F
triadic
#AF549D #9DAF54 #549DAF
tetradic
#AF549D #AF9354 #54AF66 #546FAF
square
#AF549D #AF9354 #54AF66 #546FAF
split-complementary
#AF549D #6FAF54 #54AF93
monochromatic
#5D2C53 #873F79 #AF549D #C37EB5 #D6A7CD
Accessibility & contrast
On white
4.59
#AF549D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#AF549D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #AF549D
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF549D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF549D | 1.00 | 4.59 | 4.58 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#546D9F
Deuteranopia (green-blind)
#6E7A9A
Tritanopia (blue-blind)
#B75871
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #af549d; /* rgb */ color: rgb(175, 84, 157); /* oklch */ color: oklch(58.3% 0.149 335.4);
Tailwind
colors: {
custom: {
50: '#c988ba',
500: '#af549d',
950: '#000000',
},
}SCSS
$custom: #af549d; $custom-light: #c988ba; $custom-dark: #000000;
JSON
{
"hex": "#af549d",
"rgb": {
"r": 175,
"g": 84,
"b": 157
},
"hsl": {
"h": 311.868,
"s": 36.255,
"l": 50.784
},
"oklch": {
"l": 0.58258,
"c": 0.1488,
"h": 335.4
},
"luminance": 0.17889
}Semantic roles & 50–950 ramp
primary
#AF549D
secondary
#9BC4A3
accent
#CC725C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C11
muted
#827D80