#B52B5A#B52B5A

#B52B5A is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.0% C 0.176 H 5.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#B52B5A
RGBrgb(181, 43, 90)
HSLhsl(340, 62%, 44%)
HSVhsv(340, 76%, 71%)
CMYKcmyk(0%, 76.2%, 50.3%, 29%)
CIE-LABlab(41.68, 57.30, 6.59)
CIE-LCHlch(41.68, 57.68, 6.56°)
OKLaboklab(52% 0.1751 0.0173)
OKLCHoklch(52% 0.176 5.6)
XYZxyz(21.7673, 12.2927, 10.8974)
Luminance0.1229 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52B5A #2BB586
analogous
#B52B9F #B52B5A #B5412B
triadic
#B52B5A #5AB52B #2B5AB5
tetradic
#B52B5A #9FB52B #2BB586 #412BB5
square
#B52B5A #9FB52B #2BB586 #412BB5
split-complementary
#B52B5A #2BB541 #2B9FB5
monochromatic
#521429 #841F41 #B52B5A #D44979 #E07B9D

Accessibility & contrast

On white

6.07
#B52B5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#B52B5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52B5A
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52B5A#FFFFFF#000000##FFFFFF
##B52B5A1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D515B
Deuteranopia (green-blind)
#726C57
Tritanopia (blue-blind)
#C5043F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b52b5a;
/* rgb */ color: rgb(181, 43, 90);
/* oklch */ color: oklch(52.0% 0.176 5.6);
Tailwind
colors: {
  custom: {
    50: '#d17188',
    500: '#b52b5a',
    950: '#000000',
  },
}
SCSS
$custom: #b52b5a;
$custom-light: #d17188;
$custom-dark: #000000;
JSON
{
  "hex": "#b52b5a",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 90
  },
  "hsl": {
    "h": 339.565,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52004,
    "c": 0.17593,
    "h": 5.6
  },
  "luminance": 0.1229
}

Semantic roles & 50–950 ramp

primary
#B52B5A
secondary
#74C8AB
accent
#E5AE43
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B52B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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