#B41792#B41792

#B41792 is a mid, highly saturated pink. Relative luminance 0.124; OKLCH L 52.8% C 0.217 H 339.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B41792
RGBrgb(180, 23, 146)
HSLhsl(313, 77%, 40%)
HSVhsv(313, 87%, 71%)
CMYKcmyk(0%, 87.2%, 18.9%, 29.4%)
CIE-LABlab(41.84, 68.13, -27.92)
CIE-LCHlch(41.84, 73.63, 337.72°)
OKLaboklab(52.76% 0.2037 -0.0757)
OKLCHoklch(52.76% 0.217 339.6)
XYZxyz(24.3179, 12.3940, 28.3002)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41792 #17B439
analogous
#8817B4 #B41792 #B41743
triadic
#B41792 #92B417 #1792B4
tetradic
#B41792 #B48817 #17B439 #1743B4
square
#B41792 #B48817 #17B439 #1743B4
split-complementary
#B41792 #43B417 #17B488
monochromatic
#47093A #7E1066 #B41792 #E325BA #EA5BCB

Accessibility & contrast

On white

6.04
#B41792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B41792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41792
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41792#FFFFFF#000000##FFFFFF
##B417921.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265395
Deuteranopia (green-blind)
#5D6B8F
Tritanopia (blue-blind)
#BF2057
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b41792;
/* rgb */ color: rgb(180, 23, 146);
/* oklch */ color: oklch(52.8% 0.217 339.6);
Tailwind
colors: {
  custom: {
    50: '#cf6db2',
    500: '#b41792',
    950: '#000000',
  },
}
SCSS
$custom: #b41792;
$custom-light: #cf6db2;
$custom-dark: #000000;
JSON
{
  "hex": "#b41792",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 146
  },
  "hsl": {
    "h": 312.994,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52765,
    "c": 0.21728,
    "h": 339.6
  },
  "luminance": 0.12391
}

Semantic roles & 50–950 ramp

primary
#B41792
secondary
#59CE72
accent
#F45D34
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B41792

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

Preview Lab → · Contrast checker → · Palette generator →

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