#B42F57#B42F57

#B42F57 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.1% C 0.170 H 7.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B42F57
RGBrgb(180, 47, 87)
HSLhsl(342, 59%, 45%)
HSVhsv(342, 74%, 71%)
CMYKcmyk(0%, 73.9%, 51.7%, 29.4%)
CIE-LABlab(41.89, 55.42, 8.74)
CIE-LCHlch(41.89, 56.11, 8.96°)
OKLaboklab(52.1% 0.1688 0.0226)
OKLCHoklch(52.1% 0.17 7.6)
XYZxyz(21.5611, 12.4274, 10.2783)
Luminance0.1242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F57 #2FB48C
analogous
#B42F9A #B42F57 #B44A2F
triadic
#B42F57 #57B42F #2F57B4
tetradic
#B42F57 #9AB42F #2FB48C #4A2FB4
square
#B42F57 #9AB42F #2FB48C #4A2FB4
split-complementary
#B42F57 #2FB44A #2F9AB4
monochromatic
#531628 #832240 #B42F57 #D14F76 #DE809C

Accessibility & contrast

On white

6.03
#B42F57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B42F57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42F57
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F57#FFFFFF#000000##FFFFFF
##B42F571.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505258
Deuteranopia (green-blind)
#736D54
Tritanopia (blue-blind)
#C40F40
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b42f57;
/* rgb */ color: rgb(180, 47, 87);
/* oklch */ color: oklch(52.1% 0.170 7.6);
Tailwind
colors: {
  custom: {
    50: '#d07386',
    500: '#b42f57',
    950: '#000000',
  },
}
SCSS
$custom: #b42f57;
$custom-light: #d07386;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f57",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 87
  },
  "hsl": {
    "h": 341.955,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52099,
    "c": 0.17033,
    "h": 7.6
  },
  "luminance": 0.12424
}

Semantic roles & 50–950 ramp

primary
#B42F57
secondary
#78C7AF
accent
#E2B346
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B42F57

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

Preview Lab → · Contrast checker → · Palette generator →

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