#B41796#B41796

#B41796 is a mid, highly saturated pink. Relative luminance 0.125; OKLCH L 53.0% C 0.220 H 338.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B41796
RGBrgb(180, 23, 150)
HSLhsl(311, 77%, 40%)
HSVhsv(311, 87%, 71%)
CMYKcmyk(0%, 87.2%, 16.7%, 29.4%)
CIE-LABlab(42.03, 68.65, -30.04)
CIE-LCHlch(42.03, 74.94, 336.37°)
OKLaboklab(52.97% 0.204 -0.0817)
OKLCHoklch(52.97% 0.22 338.2)
XYZxyz(24.6345, 12.5206, 29.9676)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41796 #17B435
analogous
#8417B4 #B41796 #B41748
triadic
#B41796 #96B417 #1796B4
tetradic
#B41796 #B48417 #17B435 #1748B4
square
#B41796 #B48417 #17B435 #1748B4
split-complementary
#B41796 #48B417 #17B484
monochromatic
#47093C #7E1069 #B41796 #E325BF #EA5BCF

Accessibility & contrast

On white

5.99
#B41796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B41796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41796
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41796#FFFFFF#000000##FFFFFF
##B417961.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225499
Deuteranopia (green-blind)
#5B6B93
Tritanopia (blue-blind)
#BE2359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b41796;
/* rgb */ color: rgb(180, 23, 150);
/* oklch */ color: oklch(53.0% 0.220 338.2);
Tailwind
colors: {
  custom: {
    50: '#cf6db5',
    500: '#b41796',
    950: '#000000',
  },
}
SCSS
$custom: #b41796;
$custom-light: #cf6db5;
$custom-dark: #000000;
JSON
{
  "hex": "#b41796",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 150
  },
  "hsl": {
    "h": 311.465,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52969,
    "c": 0.21975,
    "h": 338.2
  },
  "luminance": 0.12518
}

Semantic roles & 50–950 ramp

primary
#B41796
secondary
#59CE6F
accent
#F45934
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B41796

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

Preview Lab → · Contrast checker → · Palette generator →

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