#B42757#B42757

#B42757 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.178 H 6.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B42757
RGBrgb(180, 39, 87)
HSLhsl(340, 64%, 43%)
HSVhsv(340, 78%, 71%)
CMYKcmyk(0%, 78.3%, 51.7%, 29.4%)
CIE-LABlab(40.97, 58.00, 7.45)
CIE-LCHlch(40.97, 58.48, 7.31°)
OKLaboklab(51.42% 0.1771 0.0194)
OKLCHoklch(51.42% 0.178 6.2)
XYZxyz(21.2701, 11.8454, 10.1814)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42757 #27B484
analogous
#B4279E #B42757 #B43D27
triadic
#B42757 #57B427 #2757B4
tetradic
#B42757 #9EB427 #27B484 #3D27B4
square
#B42757 #9EB427 #27B484 #3D27B4
split-complementary
#B42757 #27B43D #279EB4
monochromatic
#4F1126 #821C3F #B42757 #D64274 #E17499

Accessibility & contrast

On white

6.23
#B42757 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B42757 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42757
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42757#FFFFFF#000000##FFFFFF
##B427571.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42757;
/* rgb */ color: rgb(180, 39, 87);
/* oklch */ color: oklch(51.4% 0.178 6.2);
Tailwind
colors: {
  custom: {
    50: '#d16f86',
    500: '#b42757',
    950: '#000000',
  },
}
SCSS
$custom: #b42757;
$custom-light: #d16f86;
$custom-dark: #000000;
JSON
{
  "hex": "#b42757",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 87
  },
  "hsl": {
    "h": 339.574,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51422,
    "c": 0.1782,
    "h": 6.2
  },
  "luminance": 0.11842
}

Semantic roles & 50–950 ramp

primary
#B42757
secondary
#6FC8AA
accent
#E7AF40
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B42757

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

Preview Lab → · Contrast checker → · Palette generator →

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