#B52E81#B52E81

#B52E81 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.6% C 0.188 H 347.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B52E81
RGBrgb(181, 46, 129)
HSLhsl(323, 59%, 45%)
HSVhsv(323, 75%, 71%)
CMYKcmyk(0%, 74.6%, 28.7%, 29%)
CIE-LABlab(43.31, 60.37, -15.25)
CIE-LCHlch(43.31, 62.27, 345.83°)
OKLaboklab(53.62% 0.1838 -0.0402)
OKLCHoklch(53.62% 0.188 347.7)
XYZxyz(23.9967, 13.3654, 22.0807)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52E81 #2EB562
analogous
#A62EB5 #B52E81 #B52E3E
triadic
#B52E81 #81B52E #2E81B5
tetradic
#B52E81 #B5A62E #2EB562 #2E3EB5
square
#B52E81 #B5A62E #2EB562 #2E3EB5
split-complementary
#B52E81 #3EB52E #2EB5A6
monochromatic
#53153B #84225E #B52E81 #D24E9F #DE7FBA

Accessibility & contrast

On white

5.72
#B52E81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B52E81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52E81
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52E81#FFFFFF#000000##FFFFFF
##B52E811.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425783
Deuteranopia (green-blind)
#6A6F7E
Tritanopia (blue-blind)
#C22854
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52e81;
/* rgb */ color: rgb(181, 46, 129);
/* oklch */ color: oklch(53.6% 0.188 347.7);
Tailwind
colors: {
  custom: {
    50: '#cf74a5',
    500: '#b52e81',
    950: '#000000',
  },
}
SCSS
$custom: #b52e81;
$custom-light: #cf74a5;
$custom-dark: #000000;
JSON
{
  "hex": "#b52e81",
  "rgb": {
    "r": 181,
    "g": 46,
    "b": 129
  },
  "hsl": {
    "h": 323.111,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5362,
    "c": 0.18818,
    "h": 347.7
  },
  "luminance": 0.13363
}

Semantic roles & 50–950 ramp

primary
#B52E81
secondary
#78C796
accent
#E38245
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B52E81

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

Preview Lab → · Contrast checker → · Palette generator →

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