#B41794#B41794

#B41794 is a mid, highly saturated pink. Relative luminance 0.125; OKLCH L 52.9% C 0.218 H 338.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B41794
RGBrgb(180, 23, 148)
HSLhsl(312, 77%, 40%)
HSVhsv(312, 87%, 71%)
CMYKcmyk(0%, 87.2%, 17.8%, 29.4%)
CIE-LABlab(41.93, 68.39, -28.98)
CIE-LCHlch(41.93, 74.28, 337.03°)
OKLaboklab(52.87% 0.2038 -0.0787)
OKLCHoklch(52.87% 0.219 338.9)
XYZxyz(24.4748, 12.4568, 29.1267)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41794 #17B437
analogous
#8517B4 #B41794 #B41746
triadic
#B41794 #94B417 #1794B4
tetradic
#B41794 #B48517 #17B437 #1746B4
square
#B41794 #B48517 #17B437 #1746B4
split-complementary
#B41794 #46B417 #17B485
monochromatic
#47093B #7E1067 #B41794 #E325BC #EA5BCD

Accessibility & contrast

On white

6.02
#B41794 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B41794 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41794
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41794#FFFFFF#000000##FFFFFF
##B417941.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245497
Deuteranopia (green-blind)
#5C6B91
Tritanopia (blue-blind)
#BF2258
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b41794;
/* rgb */ color: rgb(180, 23, 148);
/* oklch */ color: oklch(52.9% 0.218 338.9);
Tailwind
colors: {
  custom: {
    50: '#cf6db4',
    500: '#b41794',
    950: '#000000',
  },
}
SCSS
$custom: #b41794;
$custom-light: #cf6db4;
$custom-dark: #000000;
JSON
{
  "hex": "#b41794",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 148
  },
  "hsl": {
    "h": 312.229,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52866,
    "c": 0.2185,
    "h": 338.9
  },
  "luminance": 0.12454
}

Semantic roles & 50–950 ramp

primary
#B41794
secondary
#59CE71
accent
#F45B34
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B41794

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

Preview Lab → · Contrast checker → · Palette generator →

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