#B41587#B41587

#B41587 is a mid, highly saturated pink. Relative luminance 0.120; OKLCH L 52.1% C 0.212 H 343.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B41587
RGBrgb(180, 21, 135)
HSLhsl(317, 79%, 39%)
HSVhsv(317, 88%, 71%)
CMYKcmyk(0%, 88.3%, 25%, 29.4%)
CIE-LABlab(41.20, 67.10, -22.18)
CIE-LCHlch(41.20, 70.67, 341.71°)
OKLaboklab(52.15% 0.2035 -0.0594)
OKLCHoklch(52.15% 0.212 343.7)
XYZxyz(23.4648, 11.9916, 23.9959)
Luminance0.1199 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41587 #15B442
analogous
#9215B4 #B41587 #B41538
triadic
#B41587 #87B415 #1587B4
tetradic
#B41587 #B49215 #15B442 #1538B4
square
#B41587 #B49215 #15B442 #1538B4
split-complementary
#B41587 #38B415 #15B492
monochromatic
#460835 #7D0F5E #B41587 #E521AE #EC58C2

Accessibility & contrast

On white

6.18
#B41587 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#B41587 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41587
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41587#FFFFFF#000000##FFFFFF
##B415871.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E518A
Deuteranopia (green-blind)
#616A84
Tritanopia (blue-blind)
#C01450
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b41587;
/* rgb */ color: rgb(180, 21, 135);
/* oklch */ color: oklch(52.1% 0.212 343.7);
Tailwind
colors: {
  custom: {
    50: '#cf6caa',
    500: '#b41587',
    950: '#000000',
  },
}
SCSS
$custom: #b41587;
$custom-light: #cf6caa;
$custom-dark: #000000;
JSON
{
  "hex": "#b41587",
  "rgb": {
    "r": 180,
    "g": 21,
    "b": 135
  },
  "hsl": {
    "h": 316.981,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.52145,
    "c": 0.21198,
    "h": 343.7
  },
  "luminance": 0.11989
}

Semantic roles & 50–950 ramp

primary
#B41587
secondary
#56CF78
accent
#F66A32
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#150810
muted
#837B7F

Preview Lab

Preview with #B41587

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

Preview Lab → · Contrast checker → · Palette generator →

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