#B41782#B41782

#B41782 is a mid, highly saturated pink. Relative luminance 0.119; OKLCH L 52.0% C 0.208 H 345.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#B41782
RGBrgb(180, 23, 130)
HSLhsl(319, 77%, 40%)
HSVhsv(319, 87%, 71%)
CMYKcmyk(0%, 87.2%, 27.8%, 29.4%)
CIE-LABlab(41.11, 66.15, -19.25)
CIE-LCHlch(41.11, 68.90, 343.77°)
OKLaboklab(52% 0.2016 -0.0512)
OKLCHoklch(52% 0.208 345.8)
XYZxyz(23.1592, 11.9305, 22.1980)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41782 #17B449
analogous
#9717B4 #B41782 #B41734
triadic
#B41782 #82B417 #1782B4
tetradic
#B41782 #B49717 #17B449 #1734B4
square
#B41782 #B49717 #17B449 #1734B4
split-complementary
#B41782 #34B417 #17B497
monochromatic
#470934 #7E105B #B41782 #E325A7 #EA5BBD

Accessibility & contrast

On white

6.20
#B41782 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#B41782 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41782
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41782#FFFFFF#000000##FFFFFF
##B417821.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335085
Deuteranopia (green-blind)
#636A7F
Tritanopia (blue-blind)
#C1104E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b41782;
/* rgb */ color: rgb(180, 23, 130);
/* oklch */ color: oklch(52.0% 0.208 345.8);
Tailwind
colors: {
  custom: {
    50: '#cf6ca6',
    500: '#b41782',
    950: '#000000',
  },
}
SCSS
$custom: #b41782;
$custom-light: #cf6ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#b41782",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 130
  },
  "hsl": {
    "h": 319.108,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52003,
    "c": 0.208,
    "h": 345.8
  },
  "luminance": 0.11928
}

Semantic roles & 50–950 ramp

primary
#B41782
secondary
#59CE7E
accent
#F47134
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#15080F
muted
#837B7F

Preview Lab

Preview with #B41782

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

Preview Lab → · Contrast checker → · Palette generator →

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