#B42591#B42591

#B42591 is a mid, highly saturated pink. Relative luminance 0.131; OKLCH L 53.5% C 0.206 H 340.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B42591
RGBrgb(180, 37, 145)
HSLhsl(315, 66%, 43%)
HSVhsv(315, 79%, 71%)
CMYKcmyk(0%, 79.4%, 19.4%, 29.4%)
CIE-LABlab(42.87, 64.86, -25.69)
CIE-LCHlch(42.87, 69.76, 338.39°)
OKLaboklab(53.5% 0.194 -0.0694)
OKLCHoklch(53.5% 0.206 340.3)
XYZxyz(24.5956, 13.0733, 28.0107)
Luminance0.1307 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42591 #25B448
analogous
#8F25B4 #B42591 #B4254A
triadic
#B42591 #91B425 #2591B4
tetradic
#B42591 #B48F25 #25B448 #254AB4
square
#B42591 #B48F25 #25B448 #254AB4
split-complementary
#B42591 #4AB425 #25B48F
monochromatic
#4E103F #811B68 #B42591 #D73FB2 #E271C6

Accessibility & contrast

On white

5.81
#B42591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B42591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42591
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42591#FFFFFF#000000##FFFFFF
##B425911.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42591;
/* rgb */ color: rgb(180, 37, 145);
/* oklch */ color: oklch(53.5% 0.206 340.3);
Tailwind
colors: {
  custom: {
    50: '#cf71b1',
    500: '#b42591',
    950: '#000000',
  },
}
SCSS
$custom: #b42591;
$custom-light: #cf71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#b42591",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 314.685,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53495,
    "c": 0.20605,
    "h": 340.3
  },
  "luminance": 0.13071
}

Semantic roles & 50–950 ramp

primary
#B42591
secondary
#6CC983
accent
#E9693F
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42591

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

Preview Lab → · Contrast checker → · Palette generator →

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