#B42451#B42451

#B42451 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.180 H 8.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#B42451
RGBrgb(180, 36, 81)
HSLhsl(341, 67%, 42%)
HSVhsv(341, 80%, 71%)
CMYKcmyk(0%, 80%, 55%, 29.4%)
CIE-LABlab(40.51, 58.40, 10.60)
CIE-LCHlch(40.51, 59.35, 10.28°)
OKLaboklab(51.04% 0.1777 0.027)
OKLCHoklch(51.04% 0.18 8.6)
XYZxyz(20.9405, 11.5622, 8.9121)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42451 #24B487
analogous
#B42499 #B42451 #B43F24
triadic
#B42451 #51B424 #2451B4
tetradic
#B42451 #99B424 #24B487 #3F24B4
square
#B42451 #99B424 #24B487 #3F24B4
split-complementary
#B42451 #24B43F #2499B4
monochromatic
#4E1023 #811A3A #B42451 #D83D6E #E27094

Accessibility & contrast

On white

6.34
#B42451 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#B42451 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42451
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42451#FFFFFF#000000##FFFFFF
##B424511.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4D52
Deuteranopia (green-blind)
#716A4D
Tritanopia (blue-blind)
#C50038
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b42451;
/* rgb */ color: rgb(180, 36, 81);
/* oklch */ color: oklch(51.0% 0.180 8.6);
Tailwind
colors: {
  custom: {
    50: '#d16e81',
    500: '#b42451',
    950: '#000000',
  },
}
SCSS
$custom: #b42451;
$custom-light: #d16e81;
$custom-dark: #000000;
JSON
{
  "hex": "#b42451",
  "rgb": {
    "r": 180,
    "g": 36,
    "b": 81
  },
  "hsl": {
    "h": 341.25,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51035,
    "c": 0.1797,
    "h": 8.6
  },
  "luminance": 0.11559
}

Semantic roles & 50–950 ramp

primary
#B42451
secondary
#6BC9AC
accent
#EAB43E
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B42451

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

Preview Lab → · Contrast checker → · Palette generator →

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