#B42E5C#B42E5C

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

Color values

HEX#B42E5C
RGBrgb(180, 46, 92)
HSLhsl(339, 59%, 44%)
HSVhsv(339, 74%, 71%)
CMYKcmyk(0%, 74.4%, 48.9%, 29.4%)
CIE-LABlab(41.90, 56.20, 5.62)
CIE-LCHlch(41.90, 56.48, 5.71°)
OKLaboklab(52.15% 0.1718 0.0149)
OKLCHoklch(52.15% 0.172 5)
XYZxyz(21.7330, 12.4329, 11.3785)
Luminance0.1243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E5C #2EB486
analogous
#B42E9F #B42E5C #B4432E
triadic
#B42E5C #5CB42E #2E5CB4
tetradic
#B42E5C #9FB42E #2EB486 #432EB4
square
#B42E5C #9FB42E #2EB486 #432EB4
split-complementary
#B42E5C #2EB443 #2E9FB4
monochromatic
#53152A #832243 #B42E5C #D24E7B #DE7E9F

Accessibility & contrast

On white

6.02
#B42E5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B42E5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E5C
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E5C#FFFFFF#000000##FFFFFF
##B42E5C1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E525D
Deuteranopia (green-blind)
#726C59
Tritanopia (blue-blind)
#C41141
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b42e5c;
/* rgb */ color: rgb(180, 46, 92);
/* oklch */ color: oklch(52.1% 0.172 5.0);
Tailwind
colors: {
  custom: {
    50: '#d07289',
    500: '#b42e5c',
    950: '#000000',
  },
}
SCSS
$custom: #b42e5c;
$custom-light: #d07289;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e5c",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 92
  },
  "hsl": {
    "h": 339.403,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52148,
    "c": 0.17244,
    "h": 5
  },
  "luminance": 0.1243
}

Semantic roles & 50–950 ramp

primary
#B42E5C
secondary
#77C7AB
accent
#E2AD45
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B42E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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