#B42976#B42976

#B42976 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.6% C 0.187 H 351.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B42976
RGBrgb(180, 41, 118)
HSLhsl(327, 63%, 43%)
HSVhsv(327, 77%, 71%)
CMYKcmyk(0%, 77.2%, 34.4%, 29.4%)
CIE-LABlab(42.15, 60.40, -10.23)
CIE-LCHlch(42.15, 61.26, 350.38°)
OKLaboklab(52.61% 0.1852 -0.0264)
OKLCHoklch(52.61% 0.187 351.9)
XYZxyz(22.8867, 12.5999, 18.3628)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42976 #29B467
analogous
#AC29B4 #B42976 #B42930
triadic
#B42976 #76B429 #2976B4
tetradic
#B42976 #B4AC29 #29B467 #2930B4
square
#B42976 #B4AC29 #29B467 #2930B4
split-complementary
#B42976 #30B429 #29B4AC
monochromatic
#501235 #821E55 #B42976 #D54595 #E077B1

Accessibility & contrast

On white

5.97
#B42976 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B42976 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42976
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42976#FFFFFF#000000##FFFFFF
##B429761.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435478
Deuteranopia (green-blind)
#6A6C73
Tritanopia (blue-blind)
#C21C4C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b42976;
/* rgb */ color: rgb(180, 41, 118);
/* oklch */ color: oklch(52.6% 0.187 351.9);
Tailwind
colors: {
  custom: {
    50: '#cf719d',
    500: '#b42976',
    950: '#000000',
  },
}
SCSS
$custom: #b42976;
$custom-light: #cf719d;
$custom-dark: #000000;
JSON
{
  "hex": "#b42976",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 326.763,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52608,
    "c": 0.18709,
    "h": 351.9
  },
  "luminance": 0.12597
}

Semantic roles & 50–950 ramp

primary
#B42976
secondary
#71C898
accent
#E68B42
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B42976

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

Preview Lab → · Contrast checker → · Palette generator →

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