#B42251#B42251

#B42251 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.9% C 0.181 H 8.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#B42251
RGBrgb(180, 34, 81)
HSLhsl(341, 68%, 42%)
HSVhsv(341, 81%, 71%)
CMYKcmyk(0%, 81.1%, 55%, 29.4%)
CIE-LABlab(40.32, 58.95, 10.33)
CIE-LCHlch(40.32, 59.84, 9.94°)
OKLaboklab(50.89% 0.1794 0.0263)
OKLCHoklch(50.89% 0.181 8.3)
XYZxyz(20.8816, 11.4445, 8.8924)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42251 #22B485
analogous
#B4229A #B42251 #B43C22
triadic
#B42251 #51B422 #2251B4
tetradic
#B42251 #9AB422 #22B485 #3C22B4
square
#B42251 #9AB422 #22B485 #3C22B4
split-complementary
#B42251 #22B43C #229AB4
monochromatic
#4D0F23 #81183A #B42251 #DA3A6D #E36D93

Accessibility & contrast

On white

6.39
#B42251 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#B42251 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42251
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42251#FFFFFF#000000##FFFFFF
##B422511.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42251;
/* rgb */ color: rgb(180, 34, 81);
/* oklch */ color: oklch(50.9% 0.181 8.3);
Tailwind
colors: {
  custom: {
    50: '#d16d81',
    500: '#b42251',
    950: '#000000',
  },
}
SCSS
$custom: #b42251;
$custom-light: #d16d81;
$custom-dark: #000000;
JSON
{
  "hex": "#b42251",
  "rgb": {
    "r": 180,
    "g": 34,
    "b": 81
  },
  "hsl": {
    "h": 340.685,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50894,
    "c": 0.18136,
    "h": 8.3
  },
  "luminance": 0.11441
}

Semantic roles & 50–950 ramp

primary
#B42251
secondary
#68CAAA
accent
#EBB33D
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B42251

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

Preview Lab → · Contrast checker → · Palette generator →

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