#B42876#B42876

#B42876 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.5% C 0.188 H 351.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B42876
RGBrgb(180, 40, 118)
HSLhsl(327, 64%, 43%)
HSVhsv(327, 78%, 71%)
CMYKcmyk(0%, 77.8%, 34.4%, 29.4%)
CIE-LABlab(42.05, 60.70, -10.39)
CIE-LCHlch(42.05, 61.58, 350.29°)
OKLaboklab(52.53% 0.1862 -0.0269)
OKLCHoklch(52.53% 0.188 351.8)
XYZxyz(22.8526, 12.5317, 18.3514)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42876 #28B466
analogous
#AC28B4 #B42876 #B42830
triadic
#B42876 #76B428 #2876B4
tetradic
#B42876 #B4AC28 #28B466 #2830B4
square
#B42876 #B4AC28 #28B466 #2830B4
split-complementary
#B42876 #30B428 #28B4AC
monochromatic
#501234 #821D55 #B42876 #D54495 #E176B1

Accessibility & contrast

On white

5.99
#B42876 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B42876 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42876
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42876#FFFFFF#000000##FFFFFF
##B428761.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42876;
/* rgb */ color: rgb(180, 40, 118);
/* oklch */ color: oklch(52.5% 0.188 351.8);
Tailwind
colors: {
  custom: {
    50: '#cf719d',
    500: '#b42876',
    950: '#000000',
  },
}
SCSS
$custom: #b42876;
$custom-light: #cf719d;
$custom-dark: #000000;
JSON
{
  "hex": "#b42876",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 326.571,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52531,
    "c": 0.18809,
    "h": 351.8
  },
  "luminance": 0.12529
}

Semantic roles & 50–950 ramp

primary
#B42876
secondary
#70C897
accent
#E78A41
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B42876

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

Preview Lab → · Contrast checker → · Palette generator →

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