#B42188#B42188

#B42188 is a mid, highly saturated pink. Relative luminance 0.126; OKLCH L 52.8% C 0.204 H 343.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B42188
RGBrgb(180, 33, 136)
HSLhsl(318, 69%, 42%)
HSVhsv(318, 82%, 71%)
CMYKcmyk(0%, 81.7%, 24.4%, 29.4%)
CIE-LABlab(42.11, 64.72, -21.39)
CIE-LCHlch(42.11, 68.17, 341.71°)
OKLaboklab(52.81% 0.1959 -0.0572)
OKLCHoklch(52.81% 0.204 343.7)
XYZxyz(23.8112, 12.5712, 24.4603)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42188 #21B44D
analogous
#9721B4 #B42188 #B4213F
triadic
#B42188 #88B421 #2188B4
tetradic
#B42188 #B49721 #21B44D #213FB4
square
#B42188 #B49721 #21B44D #213FB4
split-complementary
#B42188 #3FB421 #21B497
monochromatic
#4D0E3A #801861 #B42188 #DA38AA #E46BC0

Accessibility & contrast

On white

5.98
#B42188 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B42188 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42188
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42188#FFFFFF#000000##FFFFFF
##B421881.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35548B
Deuteranopia (green-blind)
#636C85
Tritanopia (blue-blind)
#C02053
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b42188;
/* rgb */ color: rgb(180, 33, 136);
/* oklch */ color: oklch(52.8% 0.204 343.7);
Tailwind
colors: {
  custom: {
    50: '#cf6fab',
    500: '#b42188',
    950: '#000000',
  },
}
SCSS
$custom: #b42188;
$custom-light: #cf6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#b42188",
  "rgb": {
    "r": 180,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 317.959,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52812,
    "c": 0.20409,
    "h": 343.7
  },
  "luminance": 0.12569
}

Semantic roles & 50–950 ramp

primary
#B42188
secondary
#67CA85
accent
#EC713C
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B42188

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

Preview Lab → · Contrast checker → · Palette generator →

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