#B52A8B#B52A8B

#B52A8B is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.7% C 0.198 H 343.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B52A8B
RGBrgb(181, 42, 139)
HSLhsl(318, 62%, 44%)
HSVhsv(318, 77%, 71%)
CMYKcmyk(0%, 76.8%, 23.2%, 29%)
CIE-LABlab(43.28, 62.88, -21.40)
CIE-LCHlch(43.28, 66.43, 341.21°)
OKLaboklab(53.74% 0.1897 -0.0573)
OKLCHoklch(53.74% 0.198 343.2)
XYZxyz(24.5452, 13.3464, 25.7046)
Luminance0.1334 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A8B #2AB554
analogous
#992AB5 #B52A8B #B52A46
triadic
#B52A8B #8BB52A #2A8BB5
tetradic
#B52A8B #B5992A #2AB554 #2A46B5
square
#B52A8B #B5992A #2AB554 #2A46B5
split-complementary
#B52A8B #46B52A #2AB599
monochromatic
#52133F #831E65 #B52A8B #D448AA #E079C1

Accessibility & contrast

On white

5.72
#B52A8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B52A8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A8B
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A8B#FFFFFF#000000##FFFFFF
##B52A8B1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A588E
Deuteranopia (green-blind)
#656E88
Tritanopia (blue-blind)
#C12A58
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52a8b;
/* rgb */ color: rgb(181, 42, 139);
/* oklch */ color: oklch(53.7% 0.198 343.2);
Tailwind
colors: {
  custom: {
    50: '#cf72ad',
    500: '#b52a8b',
    950: '#000000',
  },
}
SCSS
$custom: #b52a8b;
$custom-light: #cf72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a8b",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 139
  },
  "hsl": {
    "h": 318.129,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53735,
    "c": 0.19817,
    "h": 343.2
  },
  "luminance": 0.13344
}

Semantic roles & 50–950 ramp

primary
#B52A8B
secondary
#73C88D
accent
#E57442
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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