#B41987#B41987

#B41987 is a mid, highly saturated pink. Relative luminance 0.121; OKLCH L 52.3% C 0.209 H 343.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#B41987
RGBrgb(180, 25, 135)
HSLhsl(317, 76%, 40%)
HSVhsv(317, 86%, 71%)
CMYKcmyk(0%, 86.1%, 25%, 29.4%)
CIE-LABlab(41.45, 66.37, -21.79)
CIE-LCHlch(41.45, 69.85, 341.82°)
OKLaboklab(52.33% 0.2012 -0.0583)
OKLCHoklch(52.33% 0.21 343.8)
XYZxyz(23.5442, 12.1505, 24.0224)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41987 #19B446
analogous
#9319B4 #B41987 #B4193A
triadic
#B41987 #87B419 #1987B4
tetradic
#B41987 #B49319 #19B446 #193AB4
square
#B41987 #B49319 #19B446 #193AB4
split-complementary
#B41987 #3AB419 #19B493
monochromatic
#490A36 #7E125F #B41987 #E129AC #E95FC1

Accessibility & contrast

On white

6.12
#B41987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B41987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41987
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41987#FFFFFF#000000##FFFFFF
##B419871.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30528A
Deuteranopia (green-blind)
#616B84
Tritanopia (blue-blind)
#C01851
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b41987;
/* rgb */ color: rgb(180, 25, 135);
/* oklch */ color: oklch(52.3% 0.209 343.8);
Tailwind
colors: {
  custom: {
    50: '#cf6daa',
    500: '#b41987',
    950: '#000000',
  },
}
SCSS
$custom: #b41987;
$custom-light: #cf6daa;
$custom-dark: #000000;
JSON
{
  "hex": "#b41987",
  "rgb": {
    "r": 180,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 317.419,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52326,
    "c": 0.2095,
    "h": 343.8
  },
  "luminance": 0.12148
}

Semantic roles & 50–950 ramp

primary
#B41987
secondary
#5CCD7D
accent
#F26C36
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#150810
muted
#837B7F

Preview Lab

Preview with #B41987

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

Preview Lab → · Contrast checker → · Palette generator →

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