#B41F96#B41F96

#B41F96 is a mid, highly saturated pink. Relative luminance 0.129; OKLCH L 53.4% C 0.214 H 338.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B41F96
RGBrgb(180, 31, 150)
HSLhsl(312, 71%, 41%)
HSVhsv(312, 83%, 71%)
CMYKcmyk(0%, 82.8%, 16.7%, 29.4%)
CIE-LABlab(42.59, 67.02, -29.16)
CIE-LCHlch(42.59, 73.09, 336.49°)
OKLaboklab(53.37% 0.1991 -0.0792)
OKLCHoklch(53.37% 0.214 338.3)
XYZxyz(24.8180, 12.8878, 30.0288)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41F96 #1FB43D
analogous
#881FB4 #B41F96 #B41F4B
triadic
#B41F96 #96B41F #1F96B4
tetradic
#B41F96 #B4881F #1FB43D #1F4BB4
square
#B41F96 #B4881F #1FB43D #1F4BB4
split-complementary
#B41F96 #4BB41F #1FB488
monochromatic
#4C0D3F #80166A #B41F96 #DC34BA #E568CC

Accessibility & contrast

On white

5.87
#B41F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B41F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41F96
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41F96#FFFFFF#000000##FFFFFF
##B41F961.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285699
Deuteranopia (green-blind)
#5D6D93
Tritanopia (blue-blind)
#BE295B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b41f96;
/* rgb */ color: rgb(180, 31, 150);
/* oklch */ color: oklch(53.4% 0.214 338.3);
Tailwind
colors: {
  custom: {
    50: '#cf6fb5',
    500: '#b41f96',
    950: '#000000',
  },
}
SCSS
$custom: #b41f96;
$custom-light: #cf6fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#b41f96",
  "rgb": {
    "r": 180,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 312.081,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53371,
    "c": 0.21425,
    "h": 338.3
  },
  "luminance": 0.12885
}

Semantic roles & 50–950 ramp

primary
#B41F96
secondary
#64CB79
accent
#ED5E3A
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B41F96

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

Preview Lab → · Contrast checker → · Palette generator →

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