#B41893#B41893

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

Color values

HEX#B41893
RGBrgb(180, 24, 147)
HSLhsl(313, 76%, 40%)
HSVhsv(313, 87%, 71%)
CMYKcmyk(0%, 86.7%, 18.3%, 29.4%)
CIE-LABlab(41.95, 68.07, -28.35)
CIE-LCHlch(41.95, 73.74, 337.39°)
OKLaboklab(52.86% 0.2032 -0.0769)
OKLCHoklch(52.86% 0.217 339.3)
XYZxyz(24.4162, 12.4657, 28.7184)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41893 #18B439
analogous
#8718B4 #B41893 #B41845
triadic
#B41893 #93B418 #1893B4
tetradic
#B41893 #B48718 #18B439 #1845B4
square
#B41893 #B48718 #18B439 #1845B4
split-complementary
#B41893 #45B418 #18B487
monochromatic
#480A3B #7E1167 #B41893 #E227BB #E95DCC

Accessibility & contrast

On white

6.01
#B41893 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B41893
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41893#FFFFFF#000000##FFFFFF
##B418931.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b41893;
/* rgb */ color: rgb(180, 24, 147);
/* oklch */ color: oklch(52.9% 0.217 339.3);
Tailwind
colors: {
  custom: {
    50: '#cf6db3',
    500: '#b41893',
    950: '#000000',
  },
}
SCSS
$custom: #b41893;
$custom-light: #cf6db3;
$custom-dark: #000000;
JSON
{
  "hex": "#b41893",
  "rgb": {
    "r": 180,
    "g": 24,
    "b": 147
  },
  "hsl": {
    "h": 312.692,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.5286,
    "c": 0.21727,
    "h": 339.3
  },
  "luminance": 0.12463
}

Semantic roles & 50–950 ramp

primary
#B41893
secondary
#5BCD73
accent
#F35D35
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B41893

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

Preview Lab → · Contrast checker → · Palette generator →

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