#B41997#B41997

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

Color values

HEX#B41997
RGBrgb(180, 25, 151)
HSLhsl(311, 76%, 40%)
HSVhsv(311, 86%, 71%)
CMYKcmyk(0%, 86.1%, 16.1%, 29.4%)
CIE-LABlab(42.21, 68.42, -30.37)
CIE-LCHlch(42.21, 74.85, 336.06°)
OKLaboklab(53.11% 0.2029 -0.0827)
OKLCHoklch(53.11% 0.219 337.8)
XYZxyz(24.7566, 12.6354, 30.4072)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41997 #19B436
analogous
#8419B4 #B41997 #B41949
triadic
#B41997 #97B419 #1997B4
tetradic
#B41997 #B48419 #19B436 #1949B4
square
#B41997 #B48419 #19B436 #1949B4
split-complementary
#B41997 #49B419 #19B484
monochromatic
#490A3D #7E126A #B41997 #E129BF #E95FCF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B41997#FFFFFF#000000##FFFFFF
##B419971.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)
#22559A
Deuteranopia (green-blind)
#5B6C94
Tritanopia (blue-blind)
#BE265A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b41997;
/* rgb */ color: rgb(180, 25, 151);
/* oklch */ color: oklch(53.1% 0.219 337.8);
Tailwind
colors: {
  custom: {
    50: '#cf6db6',
    500: '#b41997',
    950: '#000000',
  },
}
SCSS
$custom: #b41997;
$custom-light: #cf6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#b41997",
  "rgb": {
    "r": 180,
    "g": 25,
    "b": 151
  },
  "hsl": {
    "h": 311.226,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.53112,
    "c": 0.21913,
    "h": 337.8
  },
  "luminance": 0.12633
}

Semantic roles & 50–950 ramp

primary
#B41997
secondary
#5CCD71
accent
#F25936
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B41997

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

Preview Lab → · Contrast checker → · Palette generator →

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