#B42873#B42873

#B42873 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.4% C 0.187 H 353.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#B42873
RGBrgb(180, 40, 115)
HSLhsl(328, 64%, 43%)
HSVhsv(328, 78%, 71%)
CMYKcmyk(0%, 77.8%, 36.1%, 29.4%)
CIE-LABlab(41.94, 60.37, -8.69)
CIE-LCHlch(41.94, 60.99, 351.81°)
OKLaboklab(52.42% 0.1854 -0.0223)
OKLCHoklch(52.42% 0.187 353.1)
XYZxyz(22.6771, 12.4615, 17.4275)
Luminance0.1246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42873 #28B469
analogous
#AF28B4 #B42873 #B4282D
triadic
#B42873 #73B428 #2873B4
tetradic
#B42873 #B4AF28 #28B469 #282DB4
square
#B42873 #B4AF28 #28B469 #282DB4
split-complementary
#B42873 #2DB428 #28B4AF
monochromatic
#501233 #821D53 #B42873 #D54492 #E176AF

Accessibility & contrast

On white

6.01
#B42873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B42873 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42873
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42873#FFFFFF#000000##FFFFFF
##B428731.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435375
Deuteranopia (green-blind)
#6B6C70
Tritanopia (blue-blind)
#C2184A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b42873;
/* rgb */ color: rgb(180, 40, 115);
/* oklch */ color: oklch(52.4% 0.187 353.1);
Tailwind
colors: {
  custom: {
    50: '#cf719b',
    500: '#b42873',
    950: '#000000',
  },
}
SCSS
$custom: #b42873;
$custom-light: #cf719b;
$custom-dark: #000000;
JSON
{
  "hex": "#b42873",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 327.857,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52417,
    "c": 0.18669,
    "h": 353.1
  },
  "luminance": 0.12459
}

Semantic roles & 50–950 ramp

primary
#B42873
secondary
#70C899
accent
#E78E41
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B42873

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

Preview Lab → · Contrast checker → · Palette generator →

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