#B42791#B42791

#B42791 is a mid, highly saturated pink. Relative luminance 0.132; OKLCH L 53.6% C 0.204 H 340.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B42791
RGBrgb(180, 39, 145)
HSLhsl(315, 64%, 43%)
HSVhsv(315, 78%, 71%)
CMYKcmyk(0%, 78.3%, 19.4%, 29.4%)
CIE-LABlab(43.06, 64.31, -25.40)
CIE-LCHlch(43.06, 69.14, 338.45°)
OKLaboklab(53.63% 0.1923 -0.0686)
OKLCHoklch(53.63% 0.204 340.4)
XYZxyz(24.6595, 13.2012, 28.0320)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42791 #27B44A
analogous
#9127B4 #B42791 #B4274A
triadic
#B42791 #91B427 #2791B4
tetradic
#B42791 #B49127 #27B44A #274AB4
square
#B42791 #B49127 #27B44A #274AB4
split-complementary
#B42791 #4AB427 #27B491
monochromatic
#4F1140 #821C68 #B42791 #D642B1 #E174C6

Accessibility & contrast

On white

5.77
#B42791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B42791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42791
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42791#FFFFFF#000000##FFFFFF
##B427911.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335794
Deuteranopia (green-blind)
#616E8E
Tritanopia (blue-blind)
#BF2C5A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42791;
/* rgb */ color: rgb(180, 39, 145);
/* oklch */ color: oklch(53.6% 0.204 340.4);
Tailwind
colors: {
  custom: {
    50: '#cf71b1',
    500: '#b42791',
    950: '#000000',
  },
}
SCSS
$custom: #b42791;
$custom-light: #cf71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#b42791",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 314.894,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53633,
    "c": 0.2042,
    "h": 340.4
  },
  "luminance": 0.13199
}

Semantic roles & 50–950 ramp

primary
#B42791
secondary
#6FC885
accent
#E76A40
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42791

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

Preview Lab → · Contrast checker → · Palette generator →

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