#B41588#B41588

#B41588 is a mid, highly saturated pink. Relative luminance 0.120; OKLCH L 52.2% C 0.213 H 343.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#B41588
RGBrgb(180, 21, 136)
HSLhsl(317, 79%, 39%)
HSVhsv(317, 88%, 71%)
CMYKcmyk(0%, 88.3%, 24.4%, 29.4%)
CIE-LABlab(41.25, 67.22, -22.73)
CIE-LCHlch(41.25, 70.96, 341.32°)
OKLaboklab(52.19% 0.2036 -0.0609)
OKLCHoklch(52.19% 0.213 343.3)
XYZxyz(23.5355, 12.0199, 24.3684)
Luminance0.1202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41588 #15B441
analogous
#9115B4 #B41588 #B41539
triadic
#B41588 #88B415 #1588B4
tetradic
#B41588 #B49115 #15B441 #1539B4
square
#B41588 #B49115 #15B441 #1539B4
split-complementary
#B41588 #39B415 #15B491
monochromatic
#460835 #7D0F5F #B41588 #E521AF #EC58C3

Accessibility & contrast

On white

6.17
#B41588 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B41588
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41588#FFFFFF#000000##FFFFFF
##B415881.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E518B
Deuteranopia (green-blind)
#606A85
Tritanopia (blue-blind)
#C01551
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b41588;
/* rgb */ color: rgb(180, 21, 136);
/* oklch */ color: oklch(52.2% 0.213 343.3);
Tailwind
colors: {
  custom: {
    50: '#cf6cab',
    500: '#b41588',
    950: '#000000',
  },
}
SCSS
$custom: #b41588;
$custom-light: #cf6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#b41588",
  "rgb": {
    "r": 180,
    "g": 21,
    "b": 136
  },
  "hsl": {
    "h": 316.604,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.52192,
    "c": 0.21255,
    "h": 343.3
  },
  "luminance": 0.12017
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B41588

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

Preview Lab → · Contrast checker → · Palette generator →

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