#B41791#B41791

#B41791 is a mid, highly saturated pink. Relative luminance 0.124; OKLCH L 52.7% C 0.217 H 340.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B41791
RGBrgb(180, 23, 145)
HSLhsl(313, 77%, 40%)
HSVhsv(313, 87%, 71%)
CMYKcmyk(0%, 87.2%, 19.4%, 29.4%)
CIE-LABlab(41.79, 68.00, -27.39)
CIE-LCHlch(41.79, 73.31, 338.06°)
OKLaboklab(52.72% 0.2036 -0.0741)
OKLCHoklch(52.72% 0.217 340)
XYZxyz(24.2404, 12.3630, 27.8923)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41791 #17B43A
analogous
#8917B4 #B41791 #B41742
triadic
#B41791 #91B417 #1791B4
tetradic
#B41791 #B48917 #17B43A #1742B4
square
#B41791 #B48917 #17B43A #1742B4
split-complementary
#B41791 #42B417 #17B489
monochromatic
#47093A #7E1065 #B41791 #E325B9 #EA5BCA

Accessibility & contrast

On white

6.05
#B41791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B41791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41791
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41791#FFFFFF#000000##FFFFFF
##B417911.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275394
Deuteranopia (green-blind)
#5D6B8E
Tritanopia (blue-blind)
#BF1F56
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b41791;
/* rgb */ color: rgb(180, 23, 145);
/* oklch */ color: oklch(52.7% 0.217 340.0);
Tailwind
colors: {
  custom: {
    50: '#cf6db1',
    500: '#b41791',
    950: '#000000',
  },
}
SCSS
$custom: #b41791;
$custom-light: #cf6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#b41791",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 145
  },
  "hsl": {
    "h": 313.376,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52715,
    "c": 0.21667,
    "h": 340
  },
  "luminance": 0.1236
}

Semantic roles & 50–950 ramp

primary
#B41791
secondary
#59CE73
accent
#F45F34
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140811
muted
#837B80

Preview Lab

Preview with #B41791

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

Preview Lab → · Contrast checker → · Palette generator →

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