#B41581#B41581

#B41581 is a mid, highly saturated pink. Relative luminance 0.118; OKLCH L 51.9% C 0.209 H 346.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B41581
RGBrgb(180, 21, 129)
HSLhsl(319, 79%, 39%)
HSVhsv(319, 88%, 71%)
CMYKcmyk(0%, 88.3%, 28.3%, 29.4%)
CIE-LABlab(40.94, 66.39, -18.89)
CIE-LCHlch(40.94, 69.02, 344.12°)
OKLaboklab(51.87% 0.2025 -0.0502)
OKLCHoklch(51.87% 0.209 346.1)
XYZxyz(23.0542, 11.8274, 21.8335)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41581 #15B448
analogous
#9715B4 #B41581 #B41532
triadic
#B41581 #81B415 #1581B4
tetradic
#B41581 #B49715 #15B448 #1532B4
square
#B41581 #B49715 #15B448 #1532B4
split-complementary
#B41581 #32B415 #15B497
monochromatic
#460832 #7D0F5A #B41581 #E521A6 #EC58BC

Accessibility & contrast

On white

6.24
#B41581 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B41581 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41581
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41581#FFFFFF#000000##FFFFFF
##B415811.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325083
Deuteranopia (green-blind)
#636A7E
Tritanopia (blue-blind)
#C10C4D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b41581;
/* rgb */ color: rgb(180, 21, 129);
/* oklch */ color: oklch(51.9% 0.209 346.1);
Tailwind
colors: {
  custom: {
    50: '#cf6ba5',
    500: '#b41581',
    950: '#000000',
  },
}
SCSS
$custom: #b41581;
$custom-light: #cf6ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#b41581",
  "rgb": {
    "r": 180,
    "g": 21,
    "b": 129
  },
  "hsl": {
    "h": 319.245,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51871,
    "c": 0.20866,
    "h": 346.1
  },
  "luminance": 0.11825
}

Semantic roles & 50–950 ramp

primary
#B41581
secondary
#56CF7D
accent
#F67132
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#15080F
muted
#837B7F

Preview Lab

Preview with #B41581

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

Preview Lab → · Contrast checker → · Palette generator →

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