#B42971#B42971

#B42971 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.4% C 0.185 H 354.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#B42971
RGBrgb(180, 41, 113)
HSLhsl(329, 63%, 43%)
HSVhsv(329, 77%, 71%)
CMYKcmyk(0%, 77.2%, 37.2%, 29.4%)
CIE-LABlab(41.98, 59.85, -7.40)
CIE-LCHlch(41.98, 60.31, 352.96°)
OKLaboklab(52.42% 0.1839 -0.0188)
OKLCHoklch(52.42% 0.185 354.2)
XYZxyz(22.5975, 12.4842, 16.8393)
Luminance0.1248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42971 #29B46C
analogous
#B129B4 #B42971 #B4292B
triadic
#B42971 #71B429 #2971B4
tetradic
#B42971 #B4B129 #29B46C #292BB4
square
#B42971 #B4B129 #29B46C #292BB4
split-complementary
#B42971 #2BB429 #29B4B1
monochromatic
#501232 #821E52 #B42971 #D54590 #E077AE

Accessibility & contrast

On white

6.01
#B42971 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B42971 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42971
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42971#FFFFFF#000000##FFFFFF
##B429711.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455373
Deuteranopia (green-blind)
#6C6C6E
Tritanopia (blue-blind)
#C2184A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b42971;
/* rgb */ color: rgb(180, 41, 113);
/* oklch */ color: oklch(52.4% 0.185 354.2);
Tailwind
colors: {
  custom: {
    50: '#cf7199',
    500: '#b42971',
    950: '#000000',
  },
}
SCSS
$custom: #b42971;
$custom-light: #cf7199;
$custom-dark: #000000;
JSON
{
  "hex": "#b42971",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 328.921,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52419,
    "c": 0.18481,
    "h": 354.2
  },
  "luminance": 0.12481
}

Semantic roles & 50–950 ramp

primary
#B42971
secondary
#71C89B
accent
#E69142
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B42971

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

Preview Lab → · Contrast checker → · Palette generator →

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