#B42051#B42051

#B42051 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.8% C 0.183 H 8.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#B42051
RGBrgb(180, 32, 81)
HSLhsl(340, 70%, 42%)
HSVhsv(340, 82%, 71%)
CMYKcmyk(0%, 82.2%, 55%, 29.4%)
CIE-LABlab(40.14, 59.47, 10.07)
CIE-LCHlch(40.14, 60.31, 9.62°)
OKLaboklab(50.76% 0.1811 0.0257)
OKLCHoklch(50.76% 0.183 8.1)
XYZxyz(20.8261, 11.3335, 8.8739)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42051 #20B483
analogous
#B4209B #B42051 #B43920
triadic
#B42051 #51B420 #2051B4
tetradic
#B42051 #9BB420 #20B483 #3920B4
square
#B42051 #9BB420 #20B483 #3920B4
split-complementary
#B42051 #20B439 #209BB4
monochromatic
#4C0E22 #80173A #B42051 #DB366D #E46A92

Accessibility & contrast

On white

6.43
#B42051 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#B42051 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42051
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42051#FFFFFF#000000##FFFFFF
##B420511.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4C52
Deuteranopia (green-blind)
#70694D
Tritanopia (blue-blind)
#C50036
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b42051;
/* rgb */ color: rgb(180, 32, 81);
/* oklch */ color: oklch(50.8% 0.183 8.1);
Tailwind
colors: {
  custom: {
    50: '#d16d81',
    500: '#b42051',
    950: '#000000',
  },
}
SCSS
$custom: #b42051;
$custom-light: #d16d81;
$custom-dark: #000000;
JSON
{
  "hex": "#b42051",
  "rgb": {
    "r": 180,
    "g": 32,
    "b": 81
  },
  "hsl": {
    "h": 340.135,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50759,
    "c": 0.18293,
    "h": 8.1
  },
  "luminance": 0.1133
}

Semantic roles & 50–950 ramp

primary
#B42051
secondary
#66CAA9
accent
#EDB23B
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B42051

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

Preview Lab → · Contrast checker → · Palette generator →

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