#B41786#B41786

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

Color values

HEX#B41786
RGBrgb(180, 23, 134)
HSLhsl(318, 77%, 40%)
HSVhsv(318, 87%, 71%)
CMYKcmyk(0%, 87.2%, 25.6%, 29.4%)
CIE-LABlab(41.28, 66.63, -21.45)
CIE-LCHlch(41.28, 69.99, 342.16°)
OKLaboklab(52.19% 0.2023 -0.0573)
OKLCHoklch(52.19% 0.21 344.2)
XYZxyz(23.4329, 12.0400, 23.6396)
Luminance0.1204 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41786 #17B445
analogous
#9417B4 #B41786 #B41737
triadic
#B41786 #86B417 #1786B4
tetradic
#B41786 #B49417 #17B445 #1737B4
square
#B41786 #B49417 #17B445 #1737B4
split-complementary
#B41786 #37B417 #17B494
monochromatic
#470935 #7E105E #B41786 #E325AB #EA5BC0

Accessibility & contrast

On white

6.16
#B41786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#B41786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41786
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41786#FFFFFF#000000##FFFFFF
##B417861.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305189
Deuteranopia (green-blind)
#616A83
Tritanopia (blue-blind)
#C01550
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b41786;
/* rgb */ color: rgb(180, 23, 134);
/* oklch */ color: oklch(52.2% 0.210 344.2);
Tailwind
colors: {
  custom: {
    50: '#cf6ca9',
    500: '#b41786',
    950: '#000000',
  },
}
SCSS
$custom: #b41786;
$custom-light: #cf6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#b41786",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 317.58,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52185,
    "c": 0.21022,
    "h": 344.2
  },
  "luminance": 0.12037
}

Semantic roles & 50–950 ramp

primary
#B41786
secondary
#59CE7B
accent
#F46C34
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#150810
muted
#837B7F

Preview Lab

Preview with #B41786

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

Preview Lab → · Contrast checker → · Palette generator →

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