#B42857#B42857

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

Color values

HEX#B42857
RGBrgb(180, 40, 87)
HSLhsl(340, 64%, 43%)
HSVhsv(340, 78%, 71%)
CMYKcmyk(0%, 77.8%, 51.7%, 29.4%)
CIE-LABlab(41.08, 57.70, 7.60)
CIE-LCHlch(41.08, 58.20, 7.50°)
OKLaboklab(51.5% 0.1762 0.0197)
OKLCHoklch(51.5% 0.177 6.4)
XYZxyz(21.3034, 11.9120, 10.1924)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42857 #28B485
analogous
#B4289D #B42857 #B43F28
triadic
#B42857 #57B428 #2857B4
tetradic
#B42857 #9DB428 #28B485 #3F28B4
square
#B42857 #9DB428 #28B485 #3F28B4
split-complementary
#B42857 #28B43F #289DB4
monochromatic
#501227 #821D3F #B42857 #D54475 #E1769A

Accessibility & contrast

On white

6.21
#B42857 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42857
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42857#FFFFFF#000000##FFFFFF
##B428571.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42857;
/* rgb */ color: rgb(180, 40, 87);
/* oklch */ color: oklch(51.5% 0.177 6.4);
Tailwind
colors: {
  custom: {
    50: '#d17086',
    500: '#b42857',
    950: '#000000',
  },
}
SCSS
$custom: #b42857;
$custom-light: #d17086;
$custom-dark: #000000;
JSON
{
  "hex": "#b42857",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 87
  },
  "hsl": {
    "h": 339.857,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.515,
    "c": 0.17727,
    "h": 6.4
  },
  "luminance": 0.11909
}

Semantic roles & 50–950 ramp

primary
#B42857
secondary
#70C8AA
accent
#E7AF41
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B42857

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

Preview Lab → · Contrast checker → · Palette generator →

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