#B41A87#B41A87

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

Color values

HEX#B41A87
RGBrgb(180, 26, 135)
HSLhsl(318, 75%, 40%)
HSVhsv(318, 86%, 71%)
CMYKcmyk(0%, 85.6%, 25%, 29.4%)
CIE-LABlab(41.52, 66.17, -21.69)
CIE-LCHlch(41.52, 69.63, 341.85°)
OKLaboklab(52.38% 0.2006 -0.058)
OKLCHoklch(52.38% 0.209 343.9)
XYZxyz(23.5660, 12.1940, 24.0296)
Luminance0.1219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41A87 #1AB447
analogous
#941AB4 #B41A87 #B41A3A
triadic
#B41A87 #87B41A #1A87B4
tetradic
#B41A87 #B4941A #1AB447 #1A3AB4
square
#B41A87 #B4941A #1AB447 #1A3AB4
split-complementary
#B41A87 #3AB41A #1AB494
monochromatic
#490B37 #7F125F #B41A87 #E02BAB #E860C0

Accessibility & contrast

On white

6.11
#B41A87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B41A87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41A87
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41A87#FFFFFF#000000##FFFFFF
##B41A871.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b41a87;
/* rgb */ color: rgb(180, 26, 135);
/* oklch */ color: oklch(52.4% 0.209 343.9);
Tailwind
colors: {
  custom: {
    50: '#cf6daa',
    500: '#b41a87',
    950: '#000000',
  },
}
SCSS
$custom: #b41a87;
$custom-light: #cf6daa;
$custom-dark: #000000;
JSON
{
  "hex": "#b41a87",
  "rgb": {
    "r": 180,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 317.532,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52375,
    "c": 0.20882,
    "h": 343.9
  },
  "luminance": 0.12191
}

Semantic roles & 50–950 ramp

primary
#B41A87
secondary
#5DCC7E
accent
#F16D36
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#150810
muted
#837B7F

Preview Lab

Preview with #B41A87

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

Preview Lab → · Contrast checker → · Palette generator →

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