#B41784#B41784

#B41784 is a mid, highly saturated pink. Relative luminance 0.120; OKLCH L 52.1% C 0.209 H 345.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B41784
RGBrgb(180, 23, 132)
HSLhsl(318, 77%, 40%)
HSVhsv(318, 87%, 71%)
CMYKcmyk(0%, 87.2%, 26.7%, 29.4%)
CIE-LABlab(41.19, 66.39, -20.35)
CIE-LCHlch(41.19, 69.44, 342.96°)
OKLaboklab(52.09% 0.2019 -0.0543)
OKLCHoklch(52.09% 0.209 345)
XYZxyz(23.2948, 11.9847, 22.9119)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41784 #17B447
analogous
#9617B4 #B41784 #B41735
triadic
#B41784 #84B417 #1784B4
tetradic
#B41784 #B49617 #17B447 #1735B4
square
#B41784 #B49617 #17B447 #1735B4
split-complementary
#B41784 #35B417 #17B496
monochromatic
#470934 #7E105C #B41784 #E325A9 #EA5BBE

Accessibility & contrast

On white

6.18
#B41784 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#B41784 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41784
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41784#FFFFFF#000000##FFFFFF
##B417841.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315187
Deuteranopia (green-blind)
#626A81
Tritanopia (blue-blind)
#C1124F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b41784;
/* rgb */ color: rgb(180, 23, 132);
/* oklch */ color: oklch(52.1% 0.209 345.0);
Tailwind
colors: {
  custom: {
    50: '#cf6ca8',
    500: '#b41784',
    950: '#000000',
  },
}
SCSS
$custom: #b41784;
$custom-light: #cf6ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#b41784",
  "rgb": {
    "r": 180,
    "g": 23,
    "b": 132
  },
  "hsl": {
    "h": 318.344,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52094,
    "c": 0.20909,
    "h": 345
  },
  "luminance": 0.11982
}

Semantic roles & 50–950 ramp

primary
#B41784
secondary
#59CE7D
accent
#F46F34
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#15080F
muted
#837B7F

Preview Lab

Preview with #B41784

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

Preview Lab → · Contrast checker → · Palette generator →

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