#B42E88#B42E88

#B42E88 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.8% C 0.191 H 344.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B42E88
RGBrgb(180, 46, 136)
HSLhsl(320, 59%, 44%)
HSVhsv(320, 74%, 71%)
CMYKcmyk(0%, 74.4%, 24.4%, 29.4%)
CIE-LABlab(43.41, 61.00, -19.38)
CIE-LCHlch(43.41, 64.00, 342.37°)
OKLaboklab(53.76% 0.1844 -0.0517)
OKLCHoklch(53.76% 0.191 344.3)
XYZxyz(24.2443, 13.4374, 24.6047)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E88 #2EB45A
analogous
#9D2EB4 #B42E88 #B42E45
triadic
#B42E88 #88B42E #2E88B4
tetradic
#B42E88 #B49D2E #2EB45A #2E45B4
square
#B42E88 #B49D2E #2EB45A #2E45B4
split-complementary
#B42E88 #45B42E #2EB49D
monochromatic
#53153E #832263 #B42E88 #D24EA6 #DE7EBF

Accessibility & contrast

On white

5.70
#B42E88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B42E88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E88
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E88#FFFFFF#000000##FFFFFF
##B42E881.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E588A
Deuteranopia (green-blind)
#676F85
Tritanopia (blue-blind)
#C02D57
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b42e88;
/* rgb */ color: rgb(180, 46, 136);
/* oklch */ color: oklch(53.8% 0.191 344.3);
Tailwind
colors: {
  custom: {
    50: '#cf74ab',
    500: '#b42e88',
    950: '#000000',
  },
}
SCSS
$custom: #b42e88;
$custom-light: #cf74ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e88",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 319.701,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53757,
    "c": 0.19149,
    "h": 344.3
  },
  "luminance": 0.13435
}

Semantic roles & 50–950 ramp

primary
#B42E88
secondary
#77C791
accent
#E27945
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42E88

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

Preview Lab → · Contrast checker → · Palette generator →

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