#B41497#B41497

#B41497 is a mid, highly saturated pink. Relative luminance 0.124; OKLCH L 52.9% C 0.222 H 337.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B41497
RGBrgb(180, 20, 151)
HSLhsl(311, 80%, 39%)
HSVhsv(311, 89%, 71%)
CMYKcmyk(0%, 88.9%, 16.1%, 29.4%)
CIE-LABlab(41.91, 69.29, -30.84)
CIE-LCHlch(41.91, 75.85, 336.01°)
OKLaboklab(52.9% 0.2056 -0.084)
OKLCHoklch(52.9% 0.222 337.8)
XYZxyz(24.6591, 12.4405, 30.3748)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41497 #14B431
analogous
#8114B4 #B41497 #B41447
triadic
#B41497 #97B414 #1497B4
tetradic
#B41497 #B48114 #14B431 #1447B4
square
#B41497 #B48114 #14B431 #1447B4
split-complementary
#B41497 #47B414 #14B481
monochromatic
#46083B #7D0E69 #B41497 #E61FC2 #EC56D1

Accessibility & contrast

On white

6.02
#B41497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B41497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41497
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41497#FFFFFF#000000##FFFFFF
##B414971.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F549A
Deuteranopia (green-blind)
#5A6B94
Tritanopia (blue-blind)
#BE2359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b41497;
/* rgb */ color: rgb(180, 20, 151);
/* oklch */ color: oklch(52.9% 0.222 337.8);
Tailwind
colors: {
  custom: {
    50: '#cf6cb6',
    500: '#b41497',
    950: '#000000',
  },
}
SCSS
$custom: #b41497;
$custom-light: #cf6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#b41497",
  "rgb": {
    "r": 180,
    "g": 20,
    "b": 151
  },
  "hsl": {
    "h": 310.875,
    "s": 80,
    "l": 39.216
  },
  "oklch": {
    "l": 0.52897,
    "c": 0.22208,
    "h": 337.8
  },
  "luminance": 0.12438
}

Semantic roles & 50–950 ramp

primary
#B41497
secondary
#55CF6B
accent
#F65531
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B41497

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

Preview Lab → · Contrast checker → · Palette generator →

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