#B42189#B42189

#B42189 is a mid, highly saturated pink. Relative luminance 0.126; OKLCH L 52.9% C 0.205 H 343.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B42189
RGBrgb(180, 33, 137)
HSLhsl(318, 69%, 42%)
HSVhsv(318, 82%, 71%)
CMYKcmyk(0%, 81.7%, 23.9%, 29.4%)
CIE-LABlab(42.15, 64.85, -21.93)
CIE-LCHlch(42.15, 68.46, 341.31°)
OKLaboklab(52.86% 0.1961 -0.0588)
OKLCHoklch(52.86% 0.205 343.3)
XYZxyz(23.8826, 12.5998, 24.8363)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42189 #21B44C
analogous
#9621B4 #B42189 #B42140
triadic
#B42189 #89B421 #2189B4
tetradic
#B42189 #B49621 #21B44C #2140B4
square
#B42189 #B49621 #21B44C #2140B4
split-complementary
#B42189 #40B421 #21B496
monochromatic
#4D0E3A #801862 #B42189 #DA38AB #E46BC1

Accessibility & contrast

On white

5.97
#B42189 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B42189 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42189
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42189#FFFFFF#000000##FFFFFF
##B421891.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34548C
Deuteranopia (green-blind)
#636C86
Tritanopia (blue-blind)
#C02154
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b42189;
/* rgb */ color: rgb(180, 33, 137);
/* oklch */ color: oklch(52.9% 0.205 343.3);
Tailwind
colors: {
  custom: {
    50: '#cf6fab',
    500: '#b42189',
    950: '#000000',
  },
}
SCSS
$custom: #b42189;
$custom-light: #cf6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#b42189",
  "rgb": {
    "r": 180,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 317.551,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52858,
    "c": 0.20468,
    "h": 343.3
  },
  "luminance": 0.12597
}

Semantic roles & 50–950 ramp

primary
#B42189
secondary
#67CA84
accent
#EC6F3C
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B42189

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

Preview Lab → · Contrast checker → · Palette generator →

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