#B42456#B42456

#B42456 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.181 H 6.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#B42456
RGBrgb(180, 36, 86)
HSLhsl(339, 67%, 42%)
HSVhsv(339, 80%, 71%)
CMYKcmyk(0%, 80%, 52.2%, 29.4%)
CIE-LABlab(40.64, 58.79, 7.61)
CIE-LCHlch(40.64, 59.28, 7.37°)
OKLaboklab(51.17% 0.1796 0.0198)
OKLCHoklch(51.17% 0.181 6.3)
XYZxyz(21.1349, 11.6399, 9.9361)
Luminance0.1164 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42456 #24B482
analogous
#B4249E #B42456 #B43A24
triadic
#B42456 #56B424 #2456B4
tetradic
#B42456 #9EB424 #24B482 #3A24B4
square
#B42456 #9EB424 #24B482 #3A24B4
split-complementary
#B42456 #24B43A #249EB4
monochromatic
#4E1025 #811A3E #B42456 #D83D73 #E27098

Accessibility & contrast

On white

6.31
#B42456 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#B42456 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42456
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42456#FFFFFF#000000##FFFFFF
##B424561.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4E57
Deuteranopia (green-blind)
#706A53
Tritanopia (blue-blind)
#C4003A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42456;
/* rgb */ color: rgb(180, 36, 86);
/* oklch */ color: oklch(51.2% 0.181 6.3);
Tailwind
colors: {
  custom: {
    50: '#d16e85',
    500: '#b42456',
    950: '#000000',
  },
}
SCSS
$custom: #b42456;
$custom-light: #d16e85;
$custom-dark: #000000;
JSON
{
  "hex": "#b42456",
  "rgb": {
    "r": 180,
    "g": 36,
    "b": 86
  },
  "hsl": {
    "h": 339.167,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5117,
    "c": 0.18064,
    "h": 6.3
  },
  "luminance": 0.11637
}

Semantic roles & 50–950 ramp

primary
#B42456
secondary
#6BC9A8
accent
#EAAE3E
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B42456

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

Preview Lab → · Contrast checker → · Palette generator →

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