#B52491#B52491

#B52491 is a mid, highly saturated pink. Relative luminance 0.131; OKLCH L 53.6% C 0.208 H 340.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B52491
RGBrgb(181, 36, 145)
HSLhsl(315, 67%, 43%)
HSVhsv(315, 80%, 71%)
CMYKcmyk(0%, 80.1%, 19.9%, 29%)
CIE-LABlab(42.96, 65.35, -25.54)
CIE-LCHlch(42.96, 70.16, 338.65°)
OKLaboklab(53.59% 0.1957 -0.0689)
OKLCHoklch(53.59% 0.208 340.6)
XYZxyz(24.7986, 13.1324, 28.0114)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52491 #24B548
analogous
#9124B5 #B52491 #B52448
triadic
#B52491 #91B524 #2491B5
tetradic
#B52491 #B59124 #24B548 #2448B5
square
#B52491 #B59124 #24B548 #2448B5
split-complementary
#B52491 #48B524 #24B591
monochromatic
#4F103F #821A68 #B52491 #D93EB2 #E371C6

Accessibility & contrast

On white

5.79
#B52491 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B52491 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52491
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52491#FFFFFF#000000##FFFFFF
##B524911.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315794
Deuteranopia (green-blind)
#616E8E
Tritanopia (blue-blind)
#C02959
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b52491;
/* rgb */ color: rgb(181, 36, 145);
/* oklch */ color: oklch(53.6% 0.208 340.6);
Tailwind
colors: {
  custom: {
    50: '#cf70b1',
    500: '#b52491',
    950: '#000000',
  },
}
SCSS
$custom: #b52491;
$custom-light: #cf70b1;
$custom-dark: #000000;
JSON
{
  "hex": "#b52491",
  "rgb": {
    "r": 181,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 314.897,
    "s": 66.82,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53592,
    "c": 0.20752,
    "h": 340.6
  },
  "luminance": 0.1313
}

Semantic roles & 50–950 ramp

primary
#B52491
secondary
#6BC983
accent
#EA693E
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52491

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

Preview Lab → · Contrast checker → · Palette generator →

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