#B52A5B#B52A5B

#B52A5B is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.177 H 5.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B52A5B
RGBrgb(181, 42, 91)
HSLhsl(339, 62%, 44%)
HSVhsv(339, 77%, 71%)
CMYKcmyk(0%, 76.8%, 49.7%, 29%)
CIE-LABlab(41.59, 57.70, 5.84)
CIE-LCHlch(41.59, 57.99, 5.78°)
OKLaboklab(51.95% 0.1765 0.0154)
OKLCHoklch(51.95% 0.177 5)
XYZxyz(21.7742, 12.2380, 11.1111)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A5B #2AB584
analogous
#B52AA0 #B52A5B #B53E2A
triadic
#B52A5B #5BB52A #2A5BB5
tetradic
#B52A5B #A0B52A #2AB584 #3E2AB5
square
#B52A5B #A0B52A #2AB584 #3E2AB5
split-complementary
#B52A5B #2AB53E #2AA0B5
monochromatic
#521329 #831E42 #B52A5B #D44879 #E0799E

Accessibility & contrast

On white

6.09
#B52A5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B52A5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A5B
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A5B#FFFFFF#000000##FFFFFF
##B52A5B1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D515C
Deuteranopia (green-blind)
#716C58
Tritanopia (blue-blind)
#C5033F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b52a5b;
/* rgb */ color: rgb(181, 42, 91);
/* oklch */ color: oklch(51.9% 0.177 5.0);
Tailwind
colors: {
  custom: {
    50: '#d17189',
    500: '#b52a5b',
    950: '#000000',
  },
}
SCSS
$custom: #b52a5b;
$custom-light: #d17189;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a5b",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 338.849,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51949,
    "c": 0.17714,
    "h": 5
  },
  "luminance": 0.12235
}

Semantic roles & 50–950 ramp

primary
#B52A5B
secondary
#73C8AA
accent
#E5AC42
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B52A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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