#B42E5A#B42E5A

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

Color values

HEX#B42E5A
RGBrgb(180, 46, 90)
HSLhsl(340, 59%, 44%)
HSVhsv(340, 74%, 71%)
CMYKcmyk(0%, 74.4%, 50%, 29.4%)
CIE-LABlab(41.84, 56.02, 6.79)
CIE-LCHlch(41.84, 56.43, 6.92°)
OKLaboklab(52.09% 0.1711 0.0178)
OKLCHoklch(52.09% 0.172 5.9)
XYZxyz(21.6467, 12.3984, 10.9241)
Luminance0.1240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E5A #2EB488
analogous
#B42E9D #B42E5A #B4452E
triadic
#B42E5A #5AB42E #2E5AB4
tetradic
#B42E5A #9DB42E #2EB488 #452EB4
square
#B42E5A #9DB42E #2EB488 #452EB4
split-complementary
#B42E5A #2EB445 #2E9DB4
monochromatic
#531529 #832242 #B42E5A #D24E79 #DE7E9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42E5A#FFFFFF#000000##FFFFFF
##B42E5A1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F525B
Deuteranopia (green-blind)
#726C57
Tritanopia (blue-blind)
#C40F41
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b42e5a;
/* rgb */ color: rgb(180, 46, 90);
/* oklch */ color: oklch(52.1% 0.172 5.9);
Tailwind
colors: {
  custom: {
    50: '#d07288',
    500: '#b42e5a',
    950: '#000000',
  },
}
SCSS
$custom: #b42e5a;
$custom-light: #d07288;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e5a",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 90
  },
  "hsl": {
    "h": 340.299,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52091,
    "c": 0.17198,
    "h": 5.9
  },
  "luminance": 0.12395
}

Semantic roles & 50–950 ramp

primary
#B42E5A
secondary
#77C7AD
accent
#E2AF45
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B42E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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