#B41998#B41998

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

Color values

HEX#B41998
RGBrgb(180, 25, 152)
HSLhsl(311, 76%, 40%)
HSVhsv(311, 86%, 71%)
CMYKcmyk(0%, 86.1%, 15.6%, 29.4%)
CIE-LABlab(42.26, 68.55, -30.89)
CIE-LCHlch(42.26, 75.19, 335.74°)
OKLaboklab(53.16% 0.203 -0.0842)
OKLCHoklch(53.16% 0.22 337.5)
XYZxyz(24.8381, 12.6681, 30.8368)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41998 #19B435
analogous
#8319B4 #B41998 #B4194A
triadic
#B41998 #98B419 #1998B4
tetradic
#B41998 #B48319 #19B435 #194AB4
square
#B41998 #B48319 #19B435 #194AB4
split-complementary
#B41998 #4AB419 #19B483
monochromatic
#490A3D #7E126B #B41998 #E129C0 #E95FD0

Accessibility & contrast

On white

5.94
#B41998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B41998 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41998
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41998#FFFFFF#000000##FFFFFF
##B419981.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b41998;
/* rgb */ color: rgb(180, 25, 152);
/* oklch */ color: oklch(53.2% 0.220 337.5);
Tailwind
colors: {
  custom: {
    50: '#cf6db6',
    500: '#b41998',
    950: '#000000',
  },
}
SCSS
$custom: #b41998;
$custom-light: #cf6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#b41998",
  "rgb": {
    "r": 180,
    "g": 25,
    "b": 152
  },
  "hsl": {
    "h": 310.839,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.53164,
    "c": 0.21976,
    "h": 337.5
  },
  "luminance": 0.12666
}

Semantic roles & 50–950 ramp

primary
#B41998
secondary
#5CCD70
accent
#F25836
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B41998

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

Preview Lab → · Contrast checker → · Palette generator →

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