#B552A2#B552A2
#B552A2 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.0% C 0.161 H 335.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #B552A2 |
|---|---|
| RGB | rgb(181, 82, 162) |
| HSL | hsl(312, 40%, 52%) |
| HSV | hsv(312, 55%, 71%) |
| CMYK | cmyk(0%, 54.7%, 10.5%, 29%) |
| CIE-LAB | lab(50.06, 50.29, -24.70) |
| CIE-LCH | lch(50.06, 56.03, 333.84°) |
| OKLab | oklab(59.02% 0.1459 -0.0669) |
| OKLCH | oklch(59.02% 0.161 335.4) |
| XYZ | xyz(28.5951, 18.4690, 36.2342) |
| Luminance | 0.1847 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 5.52
Pinky Purple
#C94CBE
ΔE00 5.57
Ugly Purple
#A442A0
ΔE00 6.01
Purplish Pink
#CE5DAE
ΔE00 6.21
Purpleish
#98568D
ΔE00 6.47
Medium Purple
#9E43A2
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B552A2 #52B565
analogous
#9752B5 #B552A2 #B55271
triadic
#B552A2 #A2B552 #52A2B5
tetradic
#B552A2 #B59752 #52B565 #5271B5
square
#B552A2 #B59752 #52B565 #5271B5
split-complementary
#B552A2 #71B552 #52B597
monochromatic
#622A58 #8D3C7E #B552A2 #C77DB9 #DAA8D0
Accessibility & contrast
On white
4.47
#B552A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#B552A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B552A2
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B552A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B552A2 | 1.00 | 4.47 | 4.69 | 4.69 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#526EA5
Deuteranopia (green-blind)
#6F7C9F
Tritanopia (blue-blind)
#BD5773
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #b552a2; /* rgb */ color: rgb(181, 82, 162); /* oklch */ color: oklch(59.0% 0.161 335.4);
Tailwind
colors: {
custom: {
50: '#ce87bd',
500: '#b552a2',
950: '#000000',
},
}SCSS
$custom: #b552a2; $custom-light: #ce87bd; $custom-dark: #000000;
JSON
{
"hex": "#b552a2",
"rgb": {
"r": 181,
"g": 82,
"b": 162
},
"hsl": {
"h": 311.515,
"s": 40.081,
"l": 51.569
},
"oklch": {
"l": 0.59018,
"c": 0.16054,
"h": 335.4
},
"luminance": 0.18467
}Semantic roles & 50–950 ramp
primary
#B552A2
secondary
#9CC7A4
accent
#D06F58
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140C12
muted
#827D81