#B41887#B41887

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

Color values

HEX#B41887
RGBrgb(180, 24, 135)
HSLhsl(317, 76%, 40%)
HSVhsv(317, 87%, 71%)
CMYKcmyk(0%, 86.7%, 25%, 29.4%)
CIE-LABlab(41.39, 66.56, -21.89)
CIE-LCHlch(41.39, 70.07, 341.79°)
OKLaboklab(52.28% 0.2018 -0.0586)
OKLCHoklch(52.28% 0.21 343.8)
XYZxyz(23.5232, 12.1085, 24.0154)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41887 #18B445
analogous
#9318B4 #B41887 #B41839
triadic
#B41887 #87B418 #1887B4
tetradic
#B41887 #B49318 #18B445 #1839B4
square
#B41887 #B49318 #18B445 #1839B4
split-complementary
#B41887 #39B418 #18B493
monochromatic
#480A36 #7E115E #B41887 #E227AC #E95DC1

Accessibility & contrast

On white

6.14
#B41887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#B41887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41887
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41887#FFFFFF#000000##FFFFFF
##B418871.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b41887;
/* rgb */ color: rgb(180, 24, 135);
/* oklch */ color: oklch(52.3% 0.210 343.8);
Tailwind
colors: {
  custom: {
    50: '#cf6caa',
    500: '#b41887',
    950: '#000000',
  },
}
SCSS
$custom: #b41887;
$custom-light: #cf6caa;
$custom-dark: #000000;
JSON
{
  "hex": "#b41887",
  "rgb": {
    "r": 180,
    "g": 24,
    "b": 135
  },
  "hsl": {
    "h": 317.308,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.52278,
    "c": 0.21015,
    "h": 343.8
  },
  "luminance": 0.12106
}

Semantic roles & 50–950 ramp

primary
#B41887
secondary
#5BCD7C
accent
#F36C35
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#150810
muted
#837B7F

Preview Lab

Preview with #B41887

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

Preview Lab → · Contrast checker → · Palette generator →

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