#B41898#B41898

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

Color values

HEX#B41898
RGBrgb(180, 24, 152)
HSLhsl(311, 76%, 40%)
HSVhsv(311, 87%, 71%)
CMYKcmyk(0%, 86.7%, 15.6%, 29.4%)
CIE-LABlab(42.19, 68.74, -31.00)
CIE-LCHlch(42.19, 75.40, 335.73°)
OKLaboklab(53.12% 0.2036 -0.0845)
OKLCHoklch(53.12% 0.22 337.5)
XYZxyz(24.8171, 12.6261, 30.8298)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41898 #18B434
analogous
#8218B4 #B41898 #B4184A
triadic
#B41898 #98B418 #1898B4
tetradic
#B41898 #B48218 #18B434 #184AB4
square
#B41898 #B48218 #18B434 #184AB4
split-complementary
#B41898 #4AB418 #18B482
monochromatic
#480A3D #7E116A #B41898 #E227C1 #E95DD0

Accessibility & contrast

On white

5.96
#B41898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B41898
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41898#FFFFFF#000000##FFFFFF
##B418981.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20559B
Deuteranopia (green-blind)
#5B6C95
Tritanopia (blue-blind)
#BE265B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b41898;
/* rgb */ color: rgb(180, 24, 152);
/* oklch */ color: oklch(53.1% 0.220 337.5);
Tailwind
colors: {
  custom: {
    50: '#cf6db6',
    500: '#b41898',
    950: '#000000',
  },
}
SCSS
$custom: #b41898;
$custom-light: #cf6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#b41898",
  "rgb": {
    "r": 180,
    "g": 24,
    "b": 152
  },
  "hsl": {
    "h": 310.769,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.53118,
    "c": 0.2204,
    "h": 337.5
  },
  "luminance": 0.12624
}

Semantic roles & 50–950 ramp

primary
#B41898
secondary
#5BCD6F
accent
#F35735
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B41898

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

Preview Lab → · Contrast checker → · Palette generator →

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