#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
RGBrgb(181, 82, 162)
HSLhsl(312, 40%, 52%)
HSVhsv(312, 55%, 71%)
CMYKcmyk(0%, 54.7%, 10.5%, 29%)
CIE-LABlab(50.06, 50.29, -24.70)
CIE-LCHlch(50.06, 56.03, 333.84°)
OKLaboklab(59.02% 0.1459 -0.0669)
OKLCHoklch(59.02% 0.161 335.4)
XYZxyz(28.5951, 18.4690, 36.2342)
Luminance0.1847 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

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
##B552A21.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.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

Preview Lab

Preview with #B552A2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B552A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva