#B42387#B42387

#B42387 is a mid, highly saturated pink. Relative luminance 0.127; OKLCH L 52.9% C 0.202 H 344.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B42387
RGBrgb(180, 35, 135)
HSLhsl(319, 67%, 42%)
HSVhsv(319, 81%, 71%)
CMYKcmyk(0%, 80.6%, 25%, 29.4%)
CIE-LABlab(42.24, 64.09, -20.57)
CIE-LCHlch(42.24, 67.32, 342.20°)
OKLaboklab(52.89% 0.1942 -0.0549)
OKLCHoklch(52.89% 0.202 344.2)
XYZxyz(23.7976, 12.6573, 24.1068)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42387 #23B450
analogous
#9923B4 #B42387 #B4233E
triadic
#B42387 #87B423 #2387B4
tetradic
#B42387 #B49923 #23B450 #233EB4
square
#B42387 #B49923 #23B450 #233EB4
split-complementary
#B42387 #3EB423 #23B499
monochromatic
#4E0F3A #811961 #B42387 #D93BA8 #E36EBF

Accessibility & contrast

On white

5.95
#B42387 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B42387 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42387
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42387#FFFFFF#000000##FFFFFF
##B423871.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37548A
Deuteranopia (green-blind)
#646C84
Tritanopia (blue-blind)
#C02253
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b42387;
/* rgb */ color: rgb(180, 35, 135);
/* oklch */ color: oklch(52.9% 0.202 344.2);
Tailwind
colors: {
  custom: {
    50: '#cf70aa',
    500: '#b42387',
    950: '#000000',
  },
}
SCSS
$custom: #b42387;
$custom-light: #cf70aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b42387",
  "rgb": {
    "r": 180,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 318.621,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52894,
    "c": 0.2018,
    "h": 344.2
  },
  "luminance": 0.12655
}

Semantic roles & 50–950 ramp

primary
#B42387
secondary
#69C987
accent
#EA733D
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B42387

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

Preview Lab → · Contrast checker → · Palette generator →

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