#B41A96#B41A96

#B41A96 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.95:1 contrast (WCAG AA passes).

Color values

HEX#B41A96
RGBrgb(180, 26, 150)
HSLhsl(312, 75%, 40%)
HSVhsv(312, 86%, 71%)
CMYKcmyk(0%, 85.6%, 16.7%, 29.4%)
CIE-LABlab(42.23, 68.09, -29.74)
CIE-LCHlch(42.23, 74.30, 336.41°)
OKLaboklab(53.11% 0.2023 -0.0809)
OKLCHoklch(53.11% 0.218 338.2)
XYZxyz(24.6974, 12.6466, 29.9886)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41A96 #1AB438
analogous
#851AB4 #B41A96 #B41A49
triadic
#B41A96 #96B41A #1A96B4
tetradic
#B41A96 #B4851A #1AB438 #1A49B4
square
#B41A96 #B4851A #1AB438 #1A49B4
split-complementary
#B41A96 #49B41A #1AB485
monochromatic
#490B3D #7F1269 #B41A96 #E02BBD #E860CE

Accessibility & contrast

On white

5.95
#B41A96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B41A96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41A96
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41A96#FFFFFF#000000##FFFFFF
##B41A961.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b41a96;
/* rgb */ color: rgb(180, 26, 150);
/* oklch */ color: oklch(53.1% 0.218 338.2);
Tailwind
colors: {
  custom: {
    50: '#cf6eb5',
    500: '#b41a96',
    950: '#000000',
  },
}
SCSS
$custom: #b41a96;
$custom-light: #cf6eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#b41a96",
  "rgb": {
    "r": 180,
    "g": 26,
    "b": 150
  },
  "hsl": {
    "h": 311.688,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.53108,
    "c": 0.21784,
    "h": 338.2
  },
  "luminance": 0.12644
}

Semantic roles & 50–950 ramp

primary
#B41A96
secondary
#5DCC73
accent
#F15B36
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B41A96

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

Preview Lab → · Contrast checker → · Palette generator →

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