#B41B87#B41B87

#B41B87 is a mid, highly saturated pink. Relative luminance 0.122; OKLCH L 52.4% C 0.208 H 343.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B41B87
RGBrgb(180, 27, 135)
HSLhsl(318, 74%, 41%)
HSVhsv(318, 85%, 71%)
CMYKcmyk(0%, 85%, 25%, 29.4%)
CIE-LABlab(41.59, 65.96, -21.58)
CIE-LCHlch(41.59, 69.40, 341.89°)
OKLaboklab(52.43% 0.2 -0.0577)
OKLCHoklch(52.43% 0.208 343.9)
XYZxyz(23.5885, 12.2391, 24.0371)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41B87 #1BB448
analogous
#941BB4 #B41B87 #B41B3A
triadic
#B41B87 #87B41B #1B87B4
tetradic
#B41B87 #B4941B #1BB448 #1B3AB4
square
#B41B87 #B4941B #1BB448 #1B3AB4
split-complementary
#B41B87 #3AB41B #1BB494
monochromatic
#4A0B37 #7F135F #B41B87 #DF2DAB #E762C0

Accessibility & contrast

On white

6.09
#B41B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B41B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41B87
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41B87#FFFFFF#000000##FFFFFF
##B41B871.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32528A
Deuteranopia (green-blind)
#626B84
Tritanopia (blue-blind)
#C01A52
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b41b87;
/* rgb */ color: rgb(180, 27, 135);
/* oklch */ color: oklch(52.4% 0.208 343.9);
Tailwind
colors: {
  custom: {
    50: '#cf6daa',
    500: '#b41b87',
    950: '#000000',
  },
}
SCSS
$custom: #b41b87;
$custom-light: #cf6daa;
$custom-dark: #000000;
JSON
{
  "hex": "#b41b87",
  "rgb": {
    "r": 180,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 317.647,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52426,
    "c": 0.20813,
    "h": 343.9
  },
  "luminance": 0.12236
}

Semantic roles & 50–950 ramp

primary
#B41B87
secondary
#5FCC7F
accent
#F16E37
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#150810
muted
#837B7F

Preview Lab

Preview with #B41B87

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

Preview Lab → · Contrast checker → · Palette generator →

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