#B42457#B42457

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

Color values

HEX#B42457
RGBrgb(180, 36, 87)
HSLhsl(339, 67%, 42%)
HSVhsv(339, 80%, 71%)
CMYKcmyk(0%, 80%, 51.7%, 29.4%)
CIE-LABlab(40.66, 58.87, 7.01)
CIE-LCHlch(40.66, 59.28, 6.79°)
OKLaboklab(51.2% 0.1799 0.0183)
OKLCHoklch(51.2% 0.181 5.8)
XYZxyz(21.1755, 11.6562, 10.1498)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42457 #24B481
analogous
#B4249F #B42457 #B43924
triadic
#B42457 #57B424 #2457B4
tetradic
#B42457 #9FB424 #24B481 #3924B4
square
#B42457 #9FB424 #24B481 #3924B4
split-complementary
#B42457 #24B439 #249FB4
monochromatic
#4E1026 #811A3E #B42457 #D83D74 #E27099

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42457#FFFFFF#000000##FFFFFF
##B424571.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)
#4A4E58
Deuteranopia (green-blind)
#706A54
Tritanopia (blue-blind)
#C4003B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42457;
/* rgb */ color: rgb(180, 36, 87);
/* oklch */ color: oklch(51.2% 0.181 5.8);
Tailwind
colors: {
  custom: {
    50: '#d16e86',
    500: '#b42457',
    950: '#000000',
  },
}
SCSS
$custom: #b42457;
$custom-light: #d16e86;
$custom-dark: #000000;
JSON
{
  "hex": "#b42457",
  "rgb": {
    "r": 180,
    "g": 36,
    "b": 87
  },
  "hsl": {
    "h": 338.75,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51198,
    "c": 0.18086,
    "h": 5.8
  },
  "luminance": 0.11653
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B42457

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

Preview Lab → · Contrast checker → · Palette generator →

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