#B42B88#B42B88

#B42B88 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.5% C 0.195 H 344.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B42B88
RGBrgb(180, 43, 136)
HSLhsl(319, 61%, 44%)
HSVhsv(319, 76%, 71%)
CMYKcmyk(0%, 76.1%, 24.4%, 29.4%)
CIE-LABlab(43.08, 61.95, -19.90)
CIE-LCHlch(43.08, 65.07, 342.20°)
OKLaboklab(53.51% 0.1873 -0.0531)
OKLCHoklch(53.51% 0.195 344.2)
XYZxyz(24.1312, 13.2112, 24.5670)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42B88 #2BB457
analogous
#9B2BB4 #B42B88 #B42B43
triadic
#B42B88 #88B42B #2B88B4
tetradic
#B42B88 #B49B2B #2BB457 #2B43B4
square
#B42B88 #B49B2B #2BB457 #2B43B4
split-complementary
#B42B88 #43B42B #2BB49B
monochromatic
#51133D #831F63 #B42B88 #D349A7 #DF7ABF

Accessibility & contrast

On white

5.77
#B42B88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B42B88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42B88
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42B88#FFFFFF#000000##FFFFFF
##B42B881.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C578A
Deuteranopia (green-blind)
#666E85
Tritanopia (blue-blind)
#C02A56
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42b88;
/* rgb */ color: rgb(180, 43, 136);
/* oklch */ color: oklch(53.5% 0.195 344.2);
Tailwind
colors: {
  custom: {
    50: '#cf73ab',
    500: '#b42b88',
    950: '#000000',
  },
}
SCSS
$custom: #b42b88;
$custom-light: #cf73ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b42b88",
  "rgb": {
    "r": 180,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 319.27,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53514,
    "c": 0.1947,
    "h": 344.2
  },
  "luminance": 0.13209
}

Semantic roles & 50–950 ramp

primary
#B42B88
secondary
#73C78E
accent
#E57743
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42B88

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

Preview Lab → · Contrast checker → · Palette generator →

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