#B41A98#B41A98

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

Color values

HEX#B41A98
RGBrgb(180, 26, 152)
HSLhsl(311, 75%, 40%)
HSVhsv(311, 86%, 71%)
CMYKcmyk(0%, 85.6%, 15.6%, 29.4%)
CIE-LABlab(42.33, 68.36, -30.79)
CIE-LCHlch(42.33, 74.97, 335.75°)
OKLaboklab(53.21% 0.2024 -0.0839)
OKLCHoklch(53.21% 0.219 337.5)
XYZxyz(24.8599, 12.7116, 30.8440)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41A98 #1AB436
analogous
#831AB4 #B41A98 #B41A4B
triadic
#B41A98 #98B41A #1A98B4
tetradic
#B41A98 #B4831A #1AB436 #1A4BB4
square
#B41A98 #B4831A #1AB436 #1A4BB4
split-complementary
#B41A98 #4BB41A #1AB483
monochromatic
#490B3E #7F126B #B41A98 #E02BBF #E860CF

Accessibility & contrast

On white

5.93
#B41A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B41A98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41A98
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41A98#FFFFFF#000000##FFFFFF
##B41A981.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b41a98;
/* rgb */ color: rgb(180, 26, 152);
/* oklch */ color: oklch(53.2% 0.219 337.5);
Tailwind
colors: {
  custom: {
    50: '#cf6eb6',
    500: '#b41a98',
    950: '#000000',
  },
}
SCSS
$custom: #b41a98;
$custom-light: #cf6eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#b41a98",
  "rgb": {
    "r": 180,
    "g": 26,
    "b": 152
  },
  "hsl": {
    "h": 310.909,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.53211,
    "c": 0.21911,
    "h": 337.5
  },
  "luminance": 0.12709
}

Semantic roles & 50–950 ramp

primary
#B41A98
secondary
#5DCC72
accent
#F15836
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B41A98

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

Preview Lab → · Contrast checker → · Palette generator →

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