#9A548E#9A548E
#9A548E is a mid, moderate pink. Relative luminance 0.152; OKLCH L 54.8% C 0.120 H 333.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #9A548E |
|---|---|
| RGB | rgb(154, 84, 142) |
| HSL | hsl(310, 29%, 47%) |
| HSV | hsv(310, 45%, 60%) |
| CMYK | cmyk(0%, 45.5%, 7.8%, 39.6%) |
| CIE-LAB | lab(45.86, 37.45, -19.59) |
| CIE-LCH | lch(45.86, 42.26, 332.38°) |
| OKLab | oklab(54.84% 0.1074 -0.053) |
| OKLCH | oklch(54.84% 0.12 333.7) |
| XYZ | xyz(21.3792, 15.1649, 27.3870) |
| Luminance | 0.1516 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 0.74
Purplish
#94568C
ΔE00 1.41
Light Plum
#9D5783
ΔE00 3.83
Light Eggplant
#894585
ΔE00 5.63
Ugly Purple
#A442A0
ΔE00 6.15
Dull Purple
#84597E
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A548E #549A60
analogous
#83549A #9A548E #9A546B
triadic
#9A548E #8E9A54 #548E9A
tetradic
#9A548E #9A8354 #549A60 #546B9A
square
#9A548E #9A8354 #549A60 #546B9A
split-complementary
#9A548E #6B9A54 #549A83
monochromatic
#4B2945 #723E69 #9A548E #B577AA #CA9EC3
Accessibility & contrast
On white
5.21
#9A548E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#9A548E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A548E
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A548E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A548E | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#536690
Deuteranopia (green-blind)
#66708C
Tritanopia (blue-blind)
#A0586A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #9a548e; /* rgb */ color: rgb(154, 84, 142); /* oklch */ color: oklch(54.8% 0.120 333.7);
Tailwind
colors: {
custom: {
50: '#b986af',
500: '#9a548e',
950: '#000000',
},
}SCSS
$custom: #9a548e; $custom-light: #b986af; $custom-dark: #000000;
JSON
{
"hex": "#9a548e",
"rgb": {
"r": 154,
"g": 84,
"b": 142
},
"hsl": {
"h": 310.286,
"s": 29.412,
"l": 46.667
},
"oklch": {
"l": 0.54842,
"c": 0.11978,
"h": 333.7
},
"luminance": 0.15164
}Semantic roles & 50–950 ramp
primary
#9A548E
secondary
#92B799
accent
#C67362
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F