#B42977#B42977

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

Color values

HEX#B42977
RGBrgb(180, 41, 119)
HSLhsl(326, 63%, 43%)
HSVhsv(326, 77%, 71%)
CMYKcmyk(0%, 77.2%, 33.9%, 29.4%)
CIE-LABlab(42.19, 60.51, -10.80)
CIE-LCHlch(42.19, 61.47, 349.88°)
OKLaboklab(52.65% 0.1855 -0.028)
OKLCHoklch(52.65% 0.188 351.4)
XYZxyz(22.9465, 12.6238, 18.6774)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42977 #29B466
analogous
#AB29B4 #B42977 #B42931
triadic
#B42977 #77B429 #2977B4
tetradic
#B42977 #B4AB29 #29B466 #2931B4
square
#B42977 #B4AB29 #29B466 #2931B4
split-complementary
#B42977 #31B429 #29B4AB
monochromatic
#501235 #821E56 #B42977 #D54596 #E077B2

Accessibility & contrast

On white

5.96
#B42977 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42977
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42977#FFFFFF#000000##FFFFFF
##B429771.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425479
Deuteranopia (green-blind)
#6A6D74
Tritanopia (blue-blind)
#C21D4D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b42977;
/* rgb */ color: rgb(180, 41, 119);
/* oklch */ color: oklch(52.6% 0.188 351.4);
Tailwind
colors: {
  custom: {
    50: '#cf719e',
    500: '#b42977',
    950: '#000000',
  },
}
SCSS
$custom: #b42977;
$custom-light: #cf719e;
$custom-dark: #000000;
JSON
{
  "hex": "#b42977",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 119
  },
  "hsl": {
    "h": 326.331,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52647,
    "c": 0.18757,
    "h": 351.4
  },
  "luminance": 0.12621
}

Semantic roles & 50–950 ramp

primary
#B42977
secondary
#71C897
accent
#E68A42
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B42977

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

Preview Lab → · Contrast checker → · Palette generator →

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