#AF549F#AF549F
#AF549F is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.3% C 0.150 H 334.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #AF549F |
|---|---|
| RGB | rgb(175, 84, 159) |
| HSL | hsl(311, 36%, 51%) |
| HSV | hsv(311, 52%, 69%) |
| CMYK | cmyk(0%, 52%, 9.1%, 31.4%) |
| CIE-LAB | lab(49.45, 47.02, -23.95) |
| CIE-LCH | lch(49.45, 52.77, 333.01°) |
| OKLab | oklab(58.35% 0.1357 -0.0649) |
| OKLCH | oklch(58.35% 0.15 334.4) |
| XYZ | xyz(27.1076, 17.9596, 34.8330) |
| Luminance | 0.1796 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 5.32
Ugly Purple
#A442A0
ΔE00 5.65
Purplish
#94568C
ΔE00 6.06
Purpley Pink
#C83CB9
ΔE00 6.45
Pinky Purple
#C94CBE
ΔE00 6.55
Medium Purple
#9E43A2
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF549F #54AF64
analogous
#9154AF #AF549F #AF5471
triadic
#AF549F #9FAF54 #549FAF
tetradic
#AF549F #AF9154 #54AF64 #5471AF
square
#AF549F #AF9154 #54AF64 #5471AF
split-complementary
#AF549F #71AF54 #54AF91
monochromatic
#5D2C54 #873F7A #AF549F #C37EB6 #D6A7CE
Accessibility & contrast
On white
4.57
#AF549F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#AF549F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF549F
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF549F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF549F | 1.00 | 4.57 | 4.59 | 4.59 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#536DA1
Deuteranopia (green-blind)
#6E7A9C
Tritanopia (blue-blind)
#B65972
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #af549f; /* rgb */ color: rgb(175, 84, 159); /* oklch */ color: oklch(58.3% 0.150 334.4);
Tailwind
colors: {
custom: {
50: '#c988bb',
500: '#af549f',
950: '#000000',
},
}SCSS
$custom: #af549f; $custom-light: #c988bb; $custom-dark: #000000;
JSON
{
"hex": "#af549f",
"rgb": {
"r": 175,
"g": 84,
"b": 159
},
"hsl": {
"h": 310.549,
"s": 36.255,
"l": 50.784
},
"oklch": {
"l": 0.58348,
"c": 0.15045,
"h": 334.4
},
"luminance": 0.17958
}Semantic roles & 50–950 ramp
primary
#AF549F
secondary
#9BC4A2
accent
#CC6F5C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C12
muted
#827D81