#B52A91#B52A91

#B52A91 is a mid, highly saturated pink. Relative luminance 0.135; OKLCH L 54.0% C 0.202 H 340.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B52A91
RGBrgb(181, 42, 145)
HSLhsl(316, 62%, 44%)
HSVhsv(316, 77%, 71%)
CMYKcmyk(0%, 76.8%, 19.9%, 29%)
CIE-LABlab(43.55, 63.68, -24.63)
CIE-LCHlch(43.55, 68.27, 338.85°)
OKLaboklab(54.01% 0.1906 -0.0664)
OKLCHoklch(54.01% 0.202 340.8)
XYZxyz(24.9956, 13.5266, 28.0771)
Luminance0.1352 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A91 #2AB54E
analogous
#932AB5 #B52A91 #B52A4B
triadic
#B52A91 #91B52A #2A91B5
tetradic
#B52A91 #B5932A #2AB54E #2A4BB5
square
#B52A91 #B5932A #2AB54E #2A4BB5
split-complementary
#B52A91 #4BB52A #2AB593
monochromatic
#521341 #831E69 #B52A91 #D448B0 #E079C5

Accessibility & contrast

On white

5.67
#B52A91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B52A91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A91
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A91#FFFFFF#000000##FFFFFF
##B52A911.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365994
Deuteranopia (green-blind)
#636F8E
Tritanopia (blue-blind)
#C02E5B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52a91;
/* rgb */ color: rgb(181, 42, 145);
/* oklch */ color: oklch(54.0% 0.202 340.8);
Tailwind
colors: {
  custom: {
    50: '#cf73b1',
    500: '#b52a91',
    950: '#000000',
  },
}
SCSS
$custom: #b52a91;
$custom-light: #cf73b1;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a91",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 315.54,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54013,
    "c": 0.20186,
    "h": 340.8
  },
  "luminance": 0.13524
}

Semantic roles & 50–950 ramp

primary
#B52A91
secondary
#73C889
accent
#E56D42
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52A91

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

Preview Lab → · Contrast checker → · Palette generator →

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