#B42E87#B42E87

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

Color values

HEX#B42E87
RGBrgb(180, 46, 135)
HSLhsl(320, 59%, 44%)
HSVhsv(320, 74%, 71%)
CMYKcmyk(0%, 74.4%, 25%, 29.4%)
CIE-LABlab(43.37, 60.87, -18.83)
CIE-LCHlch(43.37, 63.72, 342.81°)
OKLaboklab(53.71% 0.1842 -0.0501)
OKLCHoklch(53.71% 0.191 344.8)
XYZxyz(24.1736, 13.4091, 24.2321)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E87 #2EB45B
analogous
#9E2EB4 #B42E87 #B42E44
triadic
#B42E87 #87B42E #2E87B4
tetradic
#B42E87 #B49E2E #2EB45B #2E44B4
square
#B42E87 #B49E2E #2EB45B #2E44B4
split-complementary
#B42E87 #44B42E #2EB49E
monochromatic
#53153E #832262 #B42E87 #D24EA5 #DE7EBE

Accessibility & contrast

On white

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

On black

3.68
#B42E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B42E87#FFFFFF#000000##FFFFFF
##B42E871.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5889
Deuteranopia (green-blind)
#676F84
Tritanopia (blue-blind)
#C02C57
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b42e87;
/* rgb */ color: rgb(180, 46, 135);
/* oklch */ color: oklch(53.7% 0.191 344.8);
Tailwind
colors: {
  custom: {
    50: '#cf74aa',
    500: '#b42e87',
    950: '#000000',
  },
}
SCSS
$custom: #b42e87;
$custom-light: #cf74aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e87",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 320.149,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53713,
    "c": 0.1909,
    "h": 344.8
  },
  "luminance": 0.13407
}

Semantic roles & 50–950 ramp

primary
#B42E87
secondary
#77C792
accent
#E27A45
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42E87

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

Preview Lab → · Contrast checker → · Palette generator →

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