#B42194#B42194

#B42194 is a mid, highly saturated pink. Relative luminance 0.129; OKLCH L 53.4% C 0.211 H 339.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B42194
RGBrgb(180, 33, 148)
HSLhsl(313, 69%, 42%)
HSVhsv(313, 82%, 71%)
CMYKcmyk(0%, 81.7%, 17.8%, 29.4%)
CIE-LABlab(42.66, 66.28, -27.85)
CIE-LCHlch(42.66, 71.89, 337.21°)
OKLaboklab(53.39% 0.1974 -0.0755)
OKLCHoklch(53.39% 0.211 339.1)
XYZxyz(24.7122, 12.9316, 29.2058)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42194 #21B441
analogous
#8B21B4 #B42194 #B4214B
triadic
#B42194 #94B421 #2194B4
tetradic
#B42194 #B48B21 #21B441 #214BB4
square
#B42194 #B48B21 #21B441 #214BB4
split-complementary
#B42194 #4BB421 #21B48B
monochromatic
#4D0E3F #801869 #B42194 #DA38B7 #E46BCA

Accessibility & contrast

On white

5.86
#B42194 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B42194 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42194
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42194#FFFFFF#000000##FFFFFF
##B421941.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5697
Deuteranopia (green-blind)
#5F6D91
Tritanopia (blue-blind)
#BF295A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42194;
/* rgb */ color: rgb(180, 33, 148);
/* oklch */ color: oklch(53.4% 0.211 339.1);
Tailwind
colors: {
  custom: {
    50: '#cf6fb3',
    500: '#b42194',
    950: '#000000',
  },
}
SCSS
$custom: #b42194;
$custom-light: #cf6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#b42194",
  "rgb": {
    "r": 180,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 313.061,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53387,
    "c": 0.21139,
    "h": 339.1
  },
  "luminance": 0.12929
}

Semantic roles & 50–950 ramp

primary
#B42194
secondary
#67CA7C
accent
#EC623C
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42194

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

Preview Lab → · Contrast checker → · Palette generator →

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