#B42872#B42872

#B42872 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.4% C 0.186 H 353.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B42872
RGBrgb(180, 40, 114)
HSLhsl(328, 64%, 43%)
HSVhsv(328, 78%, 71%)
CMYKcmyk(0%, 77.8%, 36.7%, 29.4%)
CIE-LABlab(41.90, 60.26, -8.12)
CIE-LCHlch(41.90, 60.81, 352.32°)
OKLaboklab(52.38% 0.1851 -0.0207)
OKLCHoklch(52.38% 0.186 353.6)
XYZxyz(22.6199, 12.4386, 17.1260)
Luminance0.1244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42872 #28B46A
analogous
#B028B4 #B42872 #B4282C
triadic
#B42872 #72B428 #2872B4
tetradic
#B42872 #B4B028 #28B46A #282CB4
square
#B42872 #B4B028 #28B46A #282CB4
split-complementary
#B42872 #2CB428 #28B4B0
monochromatic
#501233 #821D52 #B42872 #D54491 #E176AE

Accessibility & contrast

On white

6.02
#B42872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42872
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42872#FFFFFF#000000##FFFFFF
##B428721.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445374
Deuteranopia (green-blind)
#6B6C6F
Tritanopia (blue-blind)
#C2174A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b42872;
/* rgb */ color: rgb(180, 40, 114);
/* oklch */ color: oklch(52.4% 0.186 353.6);
Tailwind
colors: {
  custom: {
    50: '#cf719a',
    500: '#b42872',
    950: '#000000',
  },
}
SCSS
$custom: #b42872;
$custom-light: #cf719a;
$custom-dark: #000000;
JSON
{
  "hex": "#b42872",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 328.286,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52379,
    "c": 0.18624,
    "h": 353.6
  },
  "luminance": 0.12436
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B42872

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

Preview Lab → · Contrast checker → · Palette generator →

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