#B41B98#B41B98

#B41B98 is a mid, highly saturated pink. Relative luminance 0.128; OKLCH L 53.3% C 0.218 H 337.5°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B41B98
RGBrgb(180, 27, 152)
HSLhsl(311, 74%, 41%)
HSVhsv(311, 85%, 71%)
CMYKcmyk(0%, 85%, 15.6%, 29.4%)
CIE-LABlab(42.39, 68.16, -30.68)
CIE-LCHlch(42.39, 74.74, 335.76°)
OKLaboklab(53.26% 0.2018 -0.0836)
OKLCHoklch(53.26% 0.218 337.5)
XYZxyz(24.8824, 12.7567, 30.8515)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41B98 #1BB437
analogous
#831BB4 #B41B98 #B41B4C
triadic
#B41B98 #98B41B #1B98B4
tetradic
#B41B98 #B4831B #1BB437 #1B4CB4
square
#B41B98 #B4831B #1BB437 #1B4CB4
split-complementary
#B41B98 #4CB41B #1BB483
monochromatic
#4A0B3E #7F136B #B41B98 #DF2DBF #E762CF

Accessibility & contrast

On white

5.91
#B41B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B41B98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41B98
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41B98#FFFFFF#000000##FFFFFF
##B41B981.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b41b98;
/* rgb */ color: rgb(180, 27, 152);
/* oklch */ color: oklch(53.3% 0.218 337.5);
Tailwind
colors: {
  custom: {
    50: '#cf6eb6',
    500: '#b41b98',
    950: '#000000',
  },
}
SCSS
$custom: #b41b98;
$custom-light: #cf6eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#b41b98",
  "rgb": {
    "r": 180,
    "g": 27,
    "b": 152
  },
  "hsl": {
    "h": 310.98,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5326,
    "c": 0.21844,
    "h": 337.5
  },
  "luminance": 0.12754
}

Semantic roles & 50–950 ramp

primary
#B41B98
secondary
#5FCC73
accent
#F15937
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B41B98

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

Preview Lab → · Contrast checker → · Palette generator →

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