#B41996#B41996

#B41996 is a mid, highly saturated pink. Relative luminance 0.126; OKLCH L 53.1% C 0.218 H 338.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B41996
RGBrgb(180, 25, 150)
HSLhsl(312, 76%, 40%)
HSVhsv(312, 86%, 71%)
CMYKcmyk(0%, 86.1%, 16.7%, 29.4%)
CIE-LABlab(42.16, 68.28, -29.84)
CIE-LCHlch(42.16, 74.52, 336.39°)
OKLaboklab(53.06% 0.2029 -0.0811)
OKLCHoklch(53.06% 0.219 338.2)
XYZxyz(24.6757, 12.6031, 29.9814)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41996 #19B437
analogous
#8519B4 #B41996 #B41948
triadic
#B41996 #96B419 #1996B4
tetradic
#B41996 #B48519 #19B437 #1948B4
square
#B41996 #B48519 #19B437 #1948B4
split-complementary
#B41996 #48B419 #19B485
monochromatic
#490A3C #7E1269 #B41996 #E129BE #E95FCE

Accessibility & contrast

On white

5.97
#B41996 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B41996 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41996
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41996#FFFFFF#000000##FFFFFF
##B419961.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245599
Deuteranopia (green-blind)
#5C6C93
Tritanopia (blue-blind)
#BE255A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b41996;
/* rgb */ color: rgb(180, 25, 150);
/* oklch */ color: oklch(53.1% 0.218 338.2);
Tailwind
colors: {
  custom: {
    50: '#cf6db5',
    500: '#b41996',
    950: '#000000',
  },
}
SCSS
$custom: #b41996;
$custom-light: #cf6db5;
$custom-dark: #000000;
JSON
{
  "hex": "#b41996",
  "rgb": {
    "r": 180,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 311.613,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5306,
    "c": 0.2185,
    "h": 338.2
  },
  "luminance": 0.12601
}

Semantic roles & 50–950 ramp

primary
#B41996
secondary
#5CCD72
accent
#F25A36
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B41996

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

Preview Lab → · Contrast checker → · Palette generator →

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