#B41795#B41795

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

Color values

HEX#B41795
RGBrgb(180, 23, 149)
HSLhsl(312, 77%, 40%)
HSVhsv(312, 87%, 71%)
CMYKcmyk(0%, 87.2%, 17.2%, 29.4%)
CIE-LABlab(41.98, 68.52, -29.51)
CIE-LCHlch(41.98, 74.61, 336.70°)
OKLaboklab(52.92% 0.2039 -0.0802)
OKLCHoklch(52.92% 0.219 338.5)
XYZxyz(24.5543, 12.4886, 29.5453)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41795 #17B436
analogous
#8417B4 #B41795 #B41747
triadic
#B41795 #95B417 #1795B4
tetradic
#B41795 #B48417 #17B436 #1747B4
square
#B41795 #B48417 #17B436 #1747B4
split-complementary
#B41795 #47B417 #17B484
monochromatic
#47093B #7E1068 #B41795 #E325BE #EA5BCE

Accessibility & contrast

On white

6.00
#B41795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B41795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41795
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41795#FFFFFF#000000##FFFFFF
##B417951.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235498
Deuteranopia (green-blind)
#5C6B92
Tritanopia (blue-blind)
#BF2359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b41795;
/* rgb */ color: rgb(180, 23, 149);
/* oklch */ color: oklch(52.9% 0.219 338.5);
Tailwind
colors: {
  custom: {
    50: '#cf6db4',
    500: '#b41795',
    950: '#000000',
  },
}
SCSS
$custom: #b41795;
$custom-light: #cf6db4;
$custom-dark: #000000;
JSON
{
  "hex": "#b41795",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 149
  },
  "hsl": {
    "h": 311.847,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52918,
    "c": 0.21912,
    "h": 338.5
  },
  "luminance": 0.12486
}

Semantic roles & 50–950 ramp

primary
#B41795
secondary
#59CE70
accent
#F45A34
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B41795

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

Preview Lab → · Contrast checker → · Palette generator →

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