#B42A76#B42A76

#B42A76 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.186 H 352.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B42A76
RGBrgb(180, 42, 118)
HSLhsl(327, 62%, 44%)
HSVhsv(327, 77%, 71%)
CMYKcmyk(0%, 76.7%, 34.4%, 29.4%)
CIE-LABlab(42.26, 60.10, -10.07)
CIE-LCHlch(42.26, 60.93, 350.49°)
OKLaboklab(52.69% 0.1843 -0.026)
OKLCHoklch(52.69% 0.186 352)
XYZxyz(22.9218, 12.6700, 18.3745)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42A76 #2AB468
analogous
#AD2AB4 #B42A76 #B42A31
triadic
#B42A76 #76B42A #2A76B4
tetradic
#B42A76 #B4AD2A #2AB468 #2A31B4
square
#B42A76 #B4AD2A #2AB468 #2A31B4
split-complementary
#B42A76 #31B42A #2AB4AD
monochromatic
#511335 #821E55 #B42A76 #D44795 #E079B1

Accessibility & contrast

On white

5.94
#B42A76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42A76
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42A76#FFFFFF#000000##FFFFFF
##B42A761.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435478
Deuteranopia (green-blind)
#6B6D73
Tritanopia (blue-blind)
#C21D4C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b42a76;
/* rgb */ color: rgb(180, 42, 118);
/* oklch */ color: oklch(52.7% 0.186 352.0);
Tailwind
colors: {
  custom: {
    50: '#cf729d',
    500: '#b42a76',
    950: '#000000',
  },
}
SCSS
$custom: #b42a76;
$custom-light: #cf729d;
$custom-dark: #000000;
JSON
{
  "hex": "#b42a76",
  "rgb": {
    "r": 180,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 326.957,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52687,
    "c": 0.18608,
    "h": 352
  },
  "luminance": 0.12667
}

Semantic roles & 50–950 ramp

primary
#B42A76
secondary
#72C899
accent
#E58C43
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B42A76

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

Preview Lab → · Contrast checker → · Palette generator →

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