#B41196#B41196

#B41196 is a mid, highly saturated pink. Relative luminance 0.123; OKLCH L 52.7% C 0.223 H 338.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#B41196
RGBrgb(180, 17, 150)
HSLhsl(311, 83%, 39%)
HSVhsv(311, 91%, 71%)
CMYKcmyk(0%, 90.6%, 16.7%, 29.4%)
CIE-LABlab(41.70, 69.61, -30.56)
CIE-LCHlch(41.70, 76.03, 336.30°)
OKLaboklab(52.73% 0.2069 -0.0832)
OKLCHoklch(52.73% 0.223 338.1)
XYZxyz(24.5285, 12.3087, 29.9323)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41196 #11B42F
analogous
#8011B4 #B41196 #B41144
triadic
#B41196 #96B411 #1196B4
tetradic
#B41196 #B48011 #11B42F #1144B4
square
#B41196 #B48011 #11B42F #1144B4
split-complementary
#B41196 #44B411 #11B480
monochromatic
#440639 #7C0C67 #B41196 #E919C3 #EF51D2

Accessibility & contrast

On white

6.07
#B41196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#B41196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41196
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41196#FFFFFF#000000##FFFFFF
##B411961.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5399
Deuteranopia (green-blind)
#5A6B93
Tritanopia (blue-blind)
#BF2058
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b41196;
/* rgb */ color: rgb(180, 17, 150);
/* oklch */ color: oklch(52.7% 0.223 338.1);
Tailwind
colors: {
  custom: {
    50: '#cf6bb5',
    500: '#b41196',
    950: '#000000',
  },
}
SCSS
$custom: #b41196;
$custom-light: #cf6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#b41196",
  "rgb": {
    "r": 180,
    "g": 17,
    "b": 150
  },
  "hsl": {
    "h": 311.043,
    "s": 82.741,
    "l": 38.627
  },
  "oklch": {
    "l": 0.52734,
    "c": 0.22299,
    "h": 338.1
  },
  "luminance": 0.12306
}

Semantic roles & 50–950 ramp

primary
#B41196
secondary
#50D068
accent
#F9542F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#150811
muted
#837B80

Preview Lab

Preview with #B41196

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

Preview Lab → · Contrast checker → · Palette generator →

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