#B42978#B42978

#B42978 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.7% C 0.188 H 351.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B42978
RGBrgb(180, 41, 120)
HSLhsl(326, 63%, 43%)
HSVhsv(326, 77%, 71%)
CMYKcmyk(0%, 77.2%, 33.3%, 29.4%)
CIE-LABlab(42.23, 60.63, -11.36)
CIE-LCHlch(42.23, 61.68, 349.39°)
OKLaboklab(52.69% 0.1857 -0.0295)
OKLCHoklch(52.69% 0.188 351)
XYZxyz(23.0068, 12.6480, 18.9954)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42978 #29B465
analogous
#AA29B4 #B42978 #B42933
triadic
#B42978 #78B429 #2978B4
tetradic
#B42978 #B4AA29 #29B465 #2933B4
square
#B42978 #B4AA29 #29B465 #2933B4
split-complementary
#B42978 #33B429 #29B4AA
monochromatic
#501236 #821E57 #B42978 #D54597 #E077B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42978#FFFFFF#000000##FFFFFF
##B429781.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)
#42547A
Deuteranopia (green-blind)
#6A6D75
Tritanopia (blue-blind)
#C21D4D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b42978;
/* rgb */ color: rgb(180, 41, 120);
/* oklch */ color: oklch(52.7% 0.188 351.0);
Tailwind
colors: {
  custom: {
    50: '#cf719f',
    500: '#b42978',
    950: '#000000',
  },
}
SCSS
$custom: #b42978;
$custom-light: #cf719f;
$custom-dark: #000000;
JSON
{
  "hex": "#b42978",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 120
  },
  "hsl": {
    "h": 325.899,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52686,
    "c": 0.18806,
    "h": 351
  },
  "luminance": 0.12645
}

Semantic roles & 50–950 ramp

primary
#B42978
secondary
#71C896
accent
#E68942
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B42978

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

Preview Lab → · Contrast checker → · Palette generator →

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