#B41598#B41598

#B41598 is a mid, highly saturated pink. Relative luminance 0.125; OKLCH L 53.0% C 0.222 H 337.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#B41598
RGBrgb(180, 21, 152)
HSLhsl(311, 79%, 39%)
HSVhsv(311, 88%, 71%)
CMYKcmyk(0%, 88.3%, 15.6%, 29.4%)
CIE-LABlab(42.01, 69.26, -31.28)
CIE-LCHlch(42.01, 76.00, 335.70°)
OKLaboklab(52.99% 0.2052 -0.0853)
OKLCHoklch(52.99% 0.222 337.4)
XYZxyz(24.7586, 12.5091, 30.8103)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41598 #15B431
analogous
#8115B4 #B41598 #B41549
triadic
#B41598 #98B415 #1598B4
tetradic
#B41598 #B48115 #15B431 #1549B4
square
#B41598 #B48115 #15B431 #1549B4
split-complementary
#B41598 #49B415 #15B481
monochromatic
#46083B #7D0F6A #B41598 #E521C3 #EC58D2

Accessibility & contrast

On white

6.00
#B41598 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B41598 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41598
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41598#FFFFFF#000000##FFFFFF
##B415981.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549B
Deuteranopia (green-blind)
#5A6B95
Tritanopia (blue-blind)
#BE245A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b41598;
/* rgb */ color: rgb(180, 21, 152);
/* oklch */ color: oklch(53.0% 0.222 337.4);
Tailwind
colors: {
  custom: {
    50: '#cf6cb6',
    500: '#b41598',
    950: '#000000',
  },
}
SCSS
$custom: #b41598;
$custom-light: #cf6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#b41598",
  "rgb": {
    "r": 180,
    "g": 21,
    "b": 152
  },
  "hsl": {
    "h": 310.566,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.52989,
    "c": 0.22216,
    "h": 337.4
  },
  "luminance": 0.12507
}

Semantic roles & 50–950 ramp

primary
#B41598
secondary
#56CF6B
accent
#F65532
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B41598

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

Preview Lab → · Contrast checker → · Palette generator →

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