#B41988#B41988

#B41988 is a mid, highly saturated pink. Relative luminance 0.122; OKLCH L 52.4% C 0.210 H 343.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#B41988
RGBrgb(180, 25, 136)
HSLhsl(317, 76%, 40%)
HSVhsv(317, 86%, 71%)
CMYKcmyk(0%, 86.1%, 24.4%, 29.4%)
CIE-LABlab(41.50, 66.49, -22.34)
CIE-LCHlch(41.50, 70.14, 341.43°)
OKLaboklab(52.37% 0.2014 -0.0598)
OKLCHoklch(52.37% 0.21 343.4)
XYZxyz(23.6150, 12.1788, 24.3949)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41988 #19B445
analogous
#9219B4 #B41988 #B4193B
triadic
#B41988 #88B419 #1988B4
tetradic
#B41988 #B49219 #19B445 #193BB4
square
#B41988 #B49219 #19B445 #193BB4
split-complementary
#B41988 #3BB419 #19B492
monochromatic
#490A37 #7E125F #B41988 #E129AD #E95FC2

Accessibility & contrast

On white

6.11
#B41988 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B41988 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41988
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41988#FFFFFF#000000##FFFFFF
##B419881.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30528B
Deuteranopia (green-blind)
#616B85
Tritanopia (blue-blind)
#C01952
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b41988;
/* rgb */ color: rgb(180, 25, 136);
/* oklch */ color: oklch(52.4% 0.210 343.4);
Tailwind
colors: {
  custom: {
    50: '#cf6dab',
    500: '#b41988',
    950: '#000000',
  },
}
SCSS
$custom: #b41988;
$custom-light: #cf6dab;
$custom-dark: #000000;
JSON
{
  "hex": "#b41988",
  "rgb": {
    "r": 180,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 317.032,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52372,
    "c": 0.21007,
    "h": 343.4
  },
  "luminance": 0.12176
}

Semantic roles & 50–950 ramp

primary
#B41988
secondary
#5CCD7C
accent
#F26B36
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#150810
muted
#837B7F

Preview Lab

Preview with #B41988

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

Preview Lab → · Contrast checker → · Palette generator →

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