#B42856#B42856

#B42856 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.177 H 6.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#B42856
RGBrgb(180, 40, 86)
HSLhsl(340, 64%, 43%)
HSVhsv(340, 78%, 71%)
CMYKcmyk(0%, 77.8%, 52.2%, 29.4%)
CIE-LABlab(41.05, 57.62, 8.19)
CIE-LCHlch(41.05, 58.20, 8.09°)
OKLaboklab(51.47% 0.1758 0.0212)
OKLCHoklch(51.47% 0.177 6.9)
XYZxyz(21.2628, 11.8958, 9.9788)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42856 #28B486
analogous
#B4289C #B42856 #B44028
triadic
#B42856 #56B428 #2856B4
tetradic
#B42856 #9CB428 #28B486 #4028B4
square
#B42856 #9CB428 #28B486 #4028B4
split-complementary
#B42856 #28B440 #289CB4
monochromatic
#501226 #821D3E #B42856 #D54474 #E17699

Accessibility & contrast

On white

6.22
#B42856 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#B42856 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42856
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42856#FFFFFF#000000##FFFFFF
##B428561.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4F57
Deuteranopia (green-blind)
#716B53
Tritanopia (blue-blind)
#C4003C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b42856;
/* rgb */ color: rgb(180, 40, 86);
/* oklch */ color: oklch(51.5% 0.177 6.9);
Tailwind
colors: {
  custom: {
    50: '#d17085',
    500: '#b42856',
    950: '#000000',
  },
}
SCSS
$custom: #b42856;
$custom-light: #d17085;
$custom-dark: #000000;
JSON
{
  "hex": "#b42856",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 86
  },
  "hsl": {
    "h": 340.286,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51473,
    "c": 0.17706,
    "h": 6.9
  },
  "luminance": 0.11893
}

Semantic roles & 50–950 ramp

primary
#B42856
secondary
#70C8AB
accent
#E7B041
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B42856

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

Preview Lab → · Contrast checker → · Palette generator →

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