#B42199#B42199

#B42199 is a mid, highly saturated pink. Relative luminance 0.131; OKLCH L 53.6% C 0.215 H 337.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B42199
RGBrgb(180, 33, 153)
HSLhsl(311, 69%, 42%)
HSVhsv(311, 82%, 71%)
CMYKcmyk(0%, 81.7%, 15%, 29.4%)
CIE-LABlab(42.90, 66.96, -30.49)
CIE-LCHlch(42.90, 73.58, 335.52°)
OKLaboklab(53.64% 0.1979 -0.083)
OKLCHoklch(53.64% 0.215 337.2)
XYZxyz(25.1166, 13.0934, 31.3353)
Luminance0.1309 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42199 #21B43C
analogous
#8521B4 #B42199 #B42150
triadic
#B42199 #99B421 #2199B4
tetradic
#B42199 #B48521 #21B43C #2150B4
square
#B42199 #B48521 #21B43C #2150B4
split-complementary
#B42199 #50B421 #21B485
monochromatic
#4D0E41 #80186D #B42199 #DA38BD #E46BCE

Accessibility & contrast

On white

5.80
#B42199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B42199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42199
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42199#FFFFFF#000000##FFFFFF
##B421991.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27579C
Deuteranopia (green-blind)
#5C6D96
Tritanopia (blue-blind)
#BE2C5D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42199;
/* rgb */ color: rgb(180, 33, 153);
/* oklch */ color: oklch(53.6% 0.215 337.2);
Tailwind
colors: {
  custom: {
    50: '#cf70b7',
    500: '#b42199',
    950: '#000000',
  },
}
SCSS
$custom: #b42199;
$custom-light: #cf70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b42199",
  "rgb": {
    "r": 180,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 311.02,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53641,
    "c": 0.2146,
    "h": 337.2
  },
  "luminance": 0.13091
}

Semantic roles & 50–950 ramp

primary
#B42199
secondary
#67CA79
accent
#EC5C3C
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42199

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

Preview Lab → · Contrast checker → · Palette generator →

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