#B52A6B#B52A6B

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

Color values

HEX#B52A6B
RGBrgb(181, 42, 107)
HSLhsl(332, 62%, 44%)
HSVhsv(332, 77%, 71%)
CMYKcmyk(0%, 76.8%, 40.9%, 29%)
CIE-LABlab(42.07, 59.19, -3.50)
CIE-LCHlch(42.07, 59.29, 356.62°)
OKLaboklab(52.46% 0.1819 -0.0084)
OKLCHoklch(52.46% 0.182 357.3)
XYZxyz(22.5395, 12.5441, 15.1414)
Luminance0.1254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A6B #2AB574
analogous
#B52AB0 #B52A6B #B52E2A
triadic
#B52A6B #6BB52A #2A6BB5
tetradic
#B52A6B #B0B52A #2AB574 #2E2AB5
square
#B52A6B #B0B52A #2AB574 #2E2AB5
split-complementary
#B52A6B #2AB52E #2AB0B5
monochromatic
#521330 #831E4E #B52A6B #D4488A #E079A9

Accessibility & contrast

On white

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

On black

3.51
#B52A6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B52A6B#FFFFFF#000000##FFFFFF
##B52A6B1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48536D
Deuteranopia (green-blind)
#6E6D68
Tritanopia (blue-blind)
#C41447
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b52a6b;
/* rgb */ color: rgb(181, 42, 107);
/* oklch */ color: oklch(52.5% 0.182 357.3);
Tailwind
colors: {
  custom: {
    50: '#d07195',
    500: '#b52a6b',
    950: '#000000',
  },
}
SCSS
$custom: #b52a6b;
$custom-light: #d07195;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a6b",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 107
  },
  "hsl": {
    "h": 331.942,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52455,
    "c": 0.18212,
    "h": 357.3
  },
  "luminance": 0.12541
}

Semantic roles & 50–950 ramp

primary
#B52A6B
secondary
#73C8A0
accent
#E59942
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B52A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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