#B42D5D#B42D5D

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

Color values

HEX#B42D5D
RGBrgb(180, 45, 93)
HSLhsl(339, 60%, 44%)
HSVhsv(339, 75%, 71%)
CMYKcmyk(0%, 75%, 48.3%, 29.4%)
CIE-LABlab(41.80, 56.62, 4.86)
CIE-LCHlch(41.80, 56.83, 4.90°)
OKLaboklab(52.09% 0.1732 0.013)
OKLCHoklch(52.09% 0.174 4.3)
XYZxyz(21.7384, 12.3733, 11.5974)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42D5D #2DB484
analogous
#B42DA1 #B42D5D #B4412D
triadic
#B42D5D #5DB42D #2D5DB4
tetradic
#B42D5D #A1B42D #2DB484 #412DB4
square
#B42D5D #A1B42D #2DB484 #412DB4
split-complementary
#B42D5D #2DB441 #2DA1B4
monochromatic
#52152A #832144 #B42D5D #D24C7C #DE7DA0

Accessibility & contrast

On white

6.04
#B42D5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B42D5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42D5D
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42D5D#FFFFFF#000000##FFFFFF
##B42D5D1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D525E
Deuteranopia (green-blind)
#716C5A
Tritanopia (blue-blind)
#C40F41
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b42d5d;
/* rgb */ color: rgb(180, 45, 93);
/* oklch */ color: oklch(52.1% 0.174 4.3);
Tailwind
colors: {
  custom: {
    50: '#d0728a',
    500: '#b42d5d',
    950: '#000000',
  },
}
SCSS
$custom: #b42d5d;
$custom-light: #d0728a;
$custom-dark: #000000;
JSON
{
  "hex": "#b42d5d",
  "rgb": {
    "r": 180,
    "g": 45,
    "b": 93
  },
  "hsl": {
    "h": 338.667,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52089,
    "c": 0.17373,
    "h": 4.3
  },
  "luminance": 0.1237
}

Semantic roles & 50–950 ramp

primary
#B42D5D
secondary
#76C7AA
accent
#E3AB45
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B42D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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