#B41897#B41897

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

Color values

HEX#B41897
RGBrgb(180, 24, 151)
HSLhsl(311, 76%, 40%)
HSVhsv(311, 87%, 71%)
CMYKcmyk(0%, 86.7%, 16.1%, 29.4%)
CIE-LABlab(42.14, 68.60, -30.47)
CIE-LCHlch(42.14, 75.07, 336.05°)
OKLaboklab(53.07% 0.2035 -0.0829)
OKLCHoklch(53.07% 0.22 337.8)
XYZxyz(24.7356, 12.5934, 30.4002)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41897 #18B435
analogous
#8318B4 #B41897 #B41849
triadic
#B41897 #97B418 #1897B4
tetradic
#B41897 #B48318 #18B435 #1849B4
square
#B41897 #B48318 #18B435 #1849B4
split-complementary
#B41897 #49B418 #18B483
monochromatic
#480A3C #7E116A #B41897 #E227BF #E95DCF

Accessibility & contrast

On white

5.97
#B41897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B41897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41897
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41897#FFFFFF#000000##FFFFFF
##B418971.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22559A
Deuteranopia (green-blind)
#5B6C94
Tritanopia (blue-blind)
#BE255A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b41897;
/* rgb */ color: rgb(180, 24, 151);
/* oklch */ color: oklch(53.1% 0.220 337.8);
Tailwind
colors: {
  custom: {
    50: '#cf6db6',
    500: '#b41897',
    950: '#000000',
  },
}
SCSS
$custom: #b41897;
$custom-light: #cf6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#b41897",
  "rgb": {
    "r": 180,
    "g": 24,
    "b": 151
  },
  "hsl": {
    "h": 311.154,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.53065,
    "c": 0.21977,
    "h": 337.8
  },
  "luminance": 0.12591
}

Semantic roles & 50–950 ramp

primary
#B41897
secondary
#5BCD70
accent
#F35835
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B41897

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

Preview Lab → · Contrast checker → · Palette generator →

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