#B52A93#B52A93

#B52A93 is a mid, highly saturated pink. Relative luminance 0.136; OKLCH L 54.1% C 0.203 H 340.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B52A93
RGBrgb(181, 42, 147)
HSLhsl(315, 62%, 44%)
HSVhsv(315, 77%, 71%)
CMYKcmyk(0%, 76.8%, 18.8%, 29%)
CIE-LABlab(43.64, 63.95, -25.70)
CIE-LCHlch(43.64, 68.92, 338.10°)
OKLaboklab(54.11% 0.1909 -0.0694)
OKLCHoklch(54.11% 0.203 340)
XYZxyz(25.1512, 13.5888, 28.8964)
Luminance0.1359 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A93 #2AB54C
analogous
#912AB5 #B52A93 #B52A4D
triadic
#B52A93 #93B52A #2A93B5
tetradic
#B52A93 #B5912A #2AB54C #2A4DB5
square
#B52A93 #B5912A #2AB54C #2A4DB5
split-complementary
#B52A93 #4DB52A #2AB591
monochromatic
#521342 #831E6B #B52A93 #D448B2 #E079C7

Accessibility & contrast

On white

5.65
#B52A93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B52A93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A93
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A93#FFFFFF#000000##FFFFFF
##B52A931.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345996
Deuteranopia (green-blind)
#626F90
Tritanopia (blue-blind)
#C02F5C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52a93;
/* rgb */ color: rgb(181, 42, 147);
/* oklch */ color: oklch(54.1% 0.203 340.0);
Tailwind
colors: {
  custom: {
    50: '#cf73b3',
    500: '#b52a93',
    950: '#000000',
  },
}
SCSS
$custom: #b52a93;
$custom-light: #cf73b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a93",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 314.676,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54109,
    "c": 0.20313,
    "h": 340
  },
  "luminance": 0.13586
}

Semantic roles & 50–950 ramp

primary
#B52A93
secondary
#73C888
accent
#E56A42
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52A93

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

Preview Lab → · Contrast checker → · Palette generator →

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