#B52D5A#B52D5A

#B52D5A is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.2% C 0.174 H 6.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B52D5A
RGBrgb(181, 45, 90)
HSLhsl(340, 60%, 44%)
HSVhsv(340, 75%, 71%)
CMYKcmyk(0%, 75.1%, 50.3%, 29%)
CIE-LABlab(41.91, 56.65, 6.92)
CIE-LCHlch(41.91, 57.07, 6.96°)
OKLaboklab(52.18% 0.173 0.0181)
OKLCHoklch(52.18% 0.174 6)
XYZxyz(21.8418, 12.4417, 10.9222)
Luminance0.1244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52D5A #2DB588
analogous
#B52D9E #B52D5A #B5442D
triadic
#B52D5A #5AB52D #2D5AB5
tetradic
#B52D5A #9EB52D #2DB588 #442DB5
square
#B52D5A #9EB52D #2DB588 #442DB5
split-complementary
#B52D5A #2DB544 #2D9EB5
monochromatic
#531529 #842142 #B52D5A #D34D79 #DF7E9E

Accessibility & contrast

On white

6.02
#B52D5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B52D5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52D5A
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52D5A#FFFFFF#000000##FFFFFF
##B52D5A1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E525B
Deuteranopia (green-blind)
#726D57
Tritanopia (blue-blind)
#C50B40
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b52d5a;
/* rgb */ color: rgb(181, 45, 90);
/* oklch */ color: oklch(52.2% 0.174 6.0);
Tailwind
colors: {
  custom: {
    50: '#d17288',
    500: '#b52d5a',
    950: '#000000',
  },
}
SCSS
$custom: #b52d5a;
$custom-light: #d17288;
$custom-dark: #000000;
JSON
{
  "hex": "#b52d5a",
  "rgb": {
    "r": 181,
    "g": 45,
    "b": 90
  },
  "hsl": {
    "h": 340.147,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52175,
    "c": 0.17392,
    "h": 6
  },
  "luminance": 0.12439
}

Semantic roles & 50–950 ramp

primary
#B52D5A
secondary
#76C7AD
accent
#E3AF44
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B52D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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