#B52C8B#B52C8B

#B52C8B is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.9% C 0.196 H 343.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B52C8B
RGBrgb(181, 44, 139)
HSLhsl(318, 61%, 44%)
HSVhsv(318, 76%, 71%)
CMYKcmyk(0%, 75.7%, 23.2%, 29%)
CIE-LABlab(43.50, 62.27, -21.07)
CIE-LCHlch(43.50, 65.74, 341.31°)
OKLaboklab(53.89% 0.1878 -0.0564)
OKLCHoklch(53.89% 0.196 343.3)
XYZxyz(24.6179, 13.4918, 25.7288)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52C8B #2CB556
analogous
#9B2CB5 #B52C8B #B52C47
triadic
#B52C8B #8BB52C #2C8BB5
tetradic
#B52C8B #B59B2C #2CB556 #2C47B5
square
#B52C8B #B59B2C #2CB556 #2C47B5
split-complementary
#B52C8B #47B52C #2CB59B
monochromatic
#53143F #842065 #B52C8B #D34BA9 #DF7CC1

Accessibility & contrast

On white

5.68
#B52C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B52C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52C8B
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52C8B#FFFFFF#000000##FFFFFF
##B52C8B1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B588E
Deuteranopia (green-blind)
#666F88
Tritanopia (blue-blind)
#C12C58
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52c8b;
/* rgb */ color: rgb(181, 44, 139);
/* oklch */ color: oklch(53.9% 0.196 343.3);
Tailwind
colors: {
  custom: {
    50: '#cf73ad',
    500: '#b52c8b',
    950: '#000000',
  },
}
SCSS
$custom: #b52c8b;
$custom-light: #cf73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b52c8b",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 318.394,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5389,
    "c": 0.1961,
    "h": 343.3
  },
  "luminance": 0.13489
}

Semantic roles & 50–950 ramp

primary
#B52C8B
secondary
#75C88E
accent
#E47544
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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