#B52291#B52291

#B52291 is a mid, highly saturated pink. Relative luminance 0.130; OKLCH L 53.5% C 0.209 H 340.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B52291
RGBrgb(181, 34, 145)
HSLhsl(315, 68%, 42%)
HSVhsv(315, 81%, 71%)
CMYKcmyk(0%, 81.2%, 19.9%, 29%)
CIE-LABlab(42.79, 65.86, -25.82)
CIE-LCHlch(42.79, 70.74, 338.59°)
OKLaboklab(53.47% 0.1973 -0.0697)
OKLCHoklch(53.47% 0.209 340.5)
XYZxyz(24.7397, 13.0147, 27.9918)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52291 #22B546
analogous
#9022B5 #B52291 #B52247
triadic
#B52291 #91B522 #2291B5
tetradic
#B52291 #B59022 #22B546 #2247B5
square
#B52291 #B59022 #22B546 #2247B5
split-complementary
#B52291 #47B522 #22B590
monochromatic
#4E0F3E #811868 #B52291 #DA3AB3 #E46EC7

Accessibility & contrast

On white

5.83
#B52291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B52291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52291
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52291#FFFFFF#000000##FFFFFF
##B522911.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305694
Deuteranopia (green-blind)
#616D8E
Tritanopia (blue-blind)
#C02759
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b52291;
/* rgb */ color: rgb(181, 34, 145);
/* oklch */ color: oklch(53.5% 0.209 340.5);
Tailwind
colors: {
  custom: {
    50: '#d070b1',
    500: '#b52291',
    950: '#000000',
  },
}
SCSS
$custom: #b52291;
$custom-light: #d070b1;
$custom-dark: #000000;
JSON
{
  "hex": "#b52291",
  "rgb": {
    "r": 181,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 314.694,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53465,
    "c": 0.20924,
    "h": 340.5
  },
  "luminance": 0.13012
}

Semantic roles & 50–950 ramp

primary
#B52291
secondary
#69CA81
accent
#EB673D
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52291

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

Preview Lab → · Contrast checker → · Palette generator →

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