#B42C5D#B42C5D

#B42C5D is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.0% C 0.175 H 4.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#B42C5D
RGBrgb(180, 44, 93)
HSLhsl(338, 61%, 44%)
HSVhsv(338, 76%, 71%)
CMYKcmyk(0%, 75.6%, 48.3%, 29.4%)
CIE-LABlab(41.69, 56.95, 4.69)
CIE-LCHlch(41.69, 57.14, 4.71°)
OKLaboklab(52% 0.1743 0.0126)
OKLCHoklch(52% 0.175 4.1)
XYZxyz(21.7007, 12.2979, 11.5848)
Luminance0.1230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42C5D #2CB483
analogous
#B42CA1 #B42C5D #B43F2C
triadic
#B42C5D #5DB42C #2C5DB4
tetradic
#B42C5D #A1B42C #2CB483 #3F2CB4
square
#B42C5D #A1B42C #2CB483 #3F2CB4
split-complementary
#B42C5D #2CB43F #2CA1B4
monochromatic
#52142A #832044 #B42C5D #D34A7C #DF7C9F

Accessibility & contrast

On white

6.07
#B42C5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#B42C5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42C5D
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42C5D#FFFFFF#000000##FFFFFF
##B42C5D1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D515E
Deuteranopia (green-blind)
#716C5A
Tritanopia (blue-blind)
#C40C41
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b42c5d;
/* rgb */ color: rgb(180, 44, 93);
/* oklch */ color: oklch(52.0% 0.175 4.1);
Tailwind
colors: {
  custom: {
    50: '#d0728a',
    500: '#b42c5d',
    950: '#000000',
  },
}
SCSS
$custom: #b42c5d;
$custom-light: #d0728a;
$custom-dark: #000000;
JSON
{
  "hex": "#b42c5d",
  "rgb": {
    "r": 180,
    "g": 44,
    "b": 93
  },
  "hsl": {
    "h": 338.382,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52002,
    "c": 0.17476,
    "h": 4.1
  },
  "luminance": 0.12295
}

Semantic roles & 50–950 ramp

primary
#B42C5D
secondary
#75C7A9
accent
#E4AA44
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B42C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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