#B41197#B41197

#B41197 is a mid, highly saturated pink. Relative luminance 0.123; OKLCH L 52.8% C 0.224 H 337.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B41197
RGBrgb(180, 17, 151)
HSLhsl(311, 83%, 39%)
HSVhsv(311, 91%, 71%)
CMYKcmyk(0%, 90.6%, 16.1%, 29.4%)
CIE-LABlab(41.75, 69.75, -31.08)
CIE-LCHlch(41.75, 76.36, 335.98°)
OKLaboklab(52.79% 0.207 -0.0847)
OKLCHoklch(52.79% 0.224 337.7)
XYZxyz(24.6094, 12.3411, 30.3582)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41197 #11B42E
analogous
#7F11B4 #B41197 #B41145
triadic
#B41197 #97B411 #1197B4
tetradic
#B41197 #B47F11 #11B42E #1145B4
square
#B41197 #B47F11 #11B42E #1145B4
split-complementary
#B41197 #45B411 #11B47F
monochromatic
#440639 #7C0C68 #B41197 #E919C4 #EF51D2

Accessibility & contrast

On white

6.06
#B41197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B41197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41197
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41197#FFFFFF#000000##FFFFFF
##B411971.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D539A
Deuteranopia (green-blind)
#5A6B94
Tritanopia (blue-blind)
#BE2159
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b41197;
/* rgb */ color: rgb(180, 17, 151);
/* oklch */ color: oklch(52.8% 0.224 337.7);
Tailwind
colors: {
  custom: {
    50: '#cf6cb6',
    500: '#b41197',
    950: '#000000',
  },
}
SCSS
$custom: #b41197;
$custom-light: #cf6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#b41197",
  "rgb": {
    "r": 180,
    "g": 17,
    "b": 151
  },
  "hsl": {
    "h": 310.675,
    "s": 82.741,
    "l": 38.627
  },
  "oklch": {
    "l": 0.52787,
    "c": 0.2236,
    "h": 337.7
  },
  "luminance": 0.12339
}

Semantic roles & 50–950 ramp

primary
#B41197
secondary
#50D067
accent
#F9532F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#150811
muted
#837B80

Preview Lab

Preview with #B41197

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

Preview Lab → · Contrast checker → · Palette generator →

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