#B42196#B42196

#B42196 is a mid, highly saturated pink. Relative luminance 0.130; OKLCH L 53.5% C 0.213 H 338.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B42196
RGBrgb(180, 33, 150)
HSLhsl(312, 69%, 42%)
HSVhsv(312, 82%, 71%)
CMYKcmyk(0%, 81.7%, 16.7%, 29.4%)
CIE-LABlab(42.76, 66.55, -28.91)
CIE-LCHlch(42.76, 72.56, 336.52°)
OKLaboklab(53.49% 0.1976 -0.0785)
OKLCHoklch(53.49% 0.213 338.3)
XYZxyz(24.8719, 12.9955, 30.0468)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42196 #21B43F
analogous
#8921B4 #B42196 #B4214D
triadic
#B42196 #96B421 #2196B4
tetradic
#B42196 #B48921 #21B43F #214DB4
square
#B42196 #B48921 #21B43F #214DB4
split-complementary
#B42196 #4DB421 #21B489
monochromatic
#4D0E40 #80186B #B42196 #DA38B9 #E46BCB

Accessibility & contrast

On white

5.84
#B42196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B42196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42196
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42196#FFFFFF#000000##FFFFFF
##B421961.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5799
Deuteranopia (green-blind)
#5E6D93
Tritanopia (blue-blind)
#BE2A5B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42196;
/* rgb */ color: rgb(180, 33, 150);
/* oklch */ color: oklch(53.5% 0.213 338.3);
Tailwind
colors: {
  custom: {
    50: '#cf70b5',
    500: '#b42196',
    950: '#000000',
  },
}
SCSS
$custom: #b42196;
$custom-light: #cf70b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b42196",
  "rgb": {
    "r": 180,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 312.245,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53488,
    "c": 0.21267,
    "h": 338.3
  },
  "luminance": 0.12993
}

Semantic roles & 50–950 ramp

primary
#B42196
secondary
#67CA7B
accent
#EC603C
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42196

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

Preview Lab → · Contrast checker → · Palette generator →

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