#B41A97#B41A97

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

Color values

HEX#B41A97
RGBrgb(180, 26, 151)
HSLhsl(311, 75%, 40%)
HSVhsv(311, 86%, 71%)
CMYKcmyk(0%, 85.6%, 16.1%, 29.4%)
CIE-LABlab(42.28, 68.22, -30.26)
CIE-LCHlch(42.28, 74.63, 336.08°)
OKLaboklab(53.16% 0.2024 -0.0824)
OKLCHoklch(53.16% 0.218 337.9)
XYZxyz(24.7783, 12.6790, 30.4145)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41A97 #1AB437
analogous
#841AB4 #B41A97 #B41A4A
triadic
#B41A97 #97B41A #1A97B4
tetradic
#B41A97 #B4841A #1AB437 #1A4AB4
square
#B41A97 #B4841A #1AB437 #1A4AB4
split-complementary
#B41A97 #4AB41A #1AB484
monochromatic
#490B3D #7F126A #B41A97 #E02BBE #E860CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B41A97#FFFFFF#000000##FFFFFF
##B41A971.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23559A
Deuteranopia (green-blind)
#5C6C94
Tritanopia (blue-blind)
#BE265A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b41a97;
/* rgb */ color: rgb(180, 26, 151);
/* oklch */ color: oklch(53.2% 0.218 337.9);
Tailwind
colors: {
  custom: {
    50: '#cf6eb6',
    500: '#b41a97',
    950: '#000000',
  },
}
SCSS
$custom: #b41a97;
$custom-light: #cf6eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#b41a97",
  "rgb": {
    "r": 180,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 311.299,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.53159,
    "c": 0.21847,
    "h": 337.9
  },
  "luminance": 0.12676
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B41A97

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

Preview Lab → · Contrast checker → · Palette generator →

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