#B52A6A#B52A6A

#B52A6A is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.4% C 0.182 H 357.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B52A6A
RGBrgb(181, 42, 106)
HSLhsl(332, 62%, 44%)
HSVhsv(332, 77%, 71%)
CMYKcmyk(0%, 76.8%, 41.4%, 29%)
CIE-LABlab(42.04, 59.09, -2.92)
CIE-LCHlch(42.04, 59.16, 357.17°)
OKLaboklab(52.42% 0.1816 -0.0069)
OKLCHoklch(52.42% 0.182 357.8)
XYZxyz(22.4872, 12.5232, 14.8659)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A6A #2AB575
analogous
#B52AAF #B52A6A #B52F2A
triadic
#B52A6A #6AB52A #2A6AB5
tetradic
#B52A6A #AFB52A #2AB575 #2F2AB5
square
#B52A6A #AFB52A #2AB575 #2F2AB5
split-complementary
#B52A6A #2AB52F #2AAFB5
monochromatic
#521330 #831E4D #B52A6A #D44889 #E079A9

Accessibility & contrast

On white

5.99
#B52A6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B52A6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A6A
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A6A#FFFFFF#000000##FFFFFF
##B52A6A1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48526C
Deuteranopia (green-blind)
#6E6D67
Tritanopia (blue-blind)
#C41346
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b52a6a;
/* rgb */ color: rgb(181, 42, 106);
/* oklch */ color: oklch(52.4% 0.182 357.8);
Tailwind
colors: {
  custom: {
    50: '#d07194',
    500: '#b52a6a',
    950: '#000000',
  },
}
SCSS
$custom: #b52a6a;
$custom-light: #d07194;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a6a",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 106
  },
  "hsl": {
    "h": 332.374,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52421,
    "c": 0.18173,
    "h": 357.8
  },
  "luminance": 0.1252
}

Semantic roles & 50–950 ramp

primary
#B52A6A
secondary
#73C8A1
accent
#E59A42
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B52A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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