#B41894#B41894

#B41894 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.00:1 contrast (WCAG AA passes).

Color values

HEX#B41894
RGBrgb(180, 24, 148)
HSLhsl(312, 76%, 40%)
HSVhsv(312, 87%, 71%)
CMYKcmyk(0%, 86.7%, 17.8%, 29.4%)
CIE-LABlab(42.00, 68.21, -28.88)
CIE-LCHlch(42.00, 74.07, 337.05°)
OKLaboklab(52.91% 0.2033 -0.0784)
OKLCHoklch(52.91% 0.218 338.9)
XYZxyz(24.4950, 12.4972, 29.1334)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41894 #18B438
analogous
#8618B4 #B41894 #B41846
triadic
#B41894 #94B418 #1894B4
tetradic
#B41894 #B48618 #18B438 #1846B4
square
#B41894 #B48618 #18B438 #1846B4
split-complementary
#B41894 #46B418 #18B486
monochromatic
#480A3B #7E1168 #B41894 #E227BC #E95DCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B41894#FFFFFF#000000##FFFFFF
##B418941.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)
#255497
Deuteranopia (green-blind)
#5C6B91
Tritanopia (blue-blind)
#BF2358
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b41894;
/* rgb */ color: rgb(180, 24, 148);
/* oklch */ color: oklch(52.9% 0.218 338.9);
Tailwind
colors: {
  custom: {
    50: '#cf6db4',
    500: '#b41894',
    950: '#000000',
  },
}
SCSS
$custom: #b41894;
$custom-light: #cf6db4;
$custom-dark: #000000;
JSON
{
  "hex": "#b41894",
  "rgb": {
    "r": 180,
    "g": 24,
    "b": 148
  },
  "hsl": {
    "h": 312.308,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.52911,
    "c": 0.21789,
    "h": 338.9
  },
  "luminance": 0.12495
}

Semantic roles & 50–950 ramp

primary
#B41894
secondary
#5BCD72
accent
#F35C35
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B41894

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

Preview Lab → · Contrast checker → · Palette generator →

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