#B42A5C#B42A5C

#B42A5C is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.8% C 0.177 H 4.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#B42A5C
RGBrgb(180, 42, 92)
HSLhsl(338, 62%, 44%)
HSVhsv(338, 77%, 71%)
CMYKcmyk(0%, 76.7%, 48.9%, 29.4%)
CIE-LABlab(41.43, 57.51, 4.95)
CIE-LCHlch(41.43, 57.72, 4.92°)
OKLaboklab(51.81% 0.176 0.0132)
OKLCHoklch(51.81% 0.177 4.3)
XYZxyz(21.5840, 12.1349, 11.3288)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42A5C #2AB482
analogous
#B42AA1 #B42A5C #B43D2A
triadic
#B42A5C #5CB42A #2A5CB4
tetradic
#B42A5C #A1B42A #2AB482 #3D2AB4
square
#B42A5C #A1B42A #2AB482 #3D2AB4
split-complementary
#B42A5C #2AB43D #2AA1B4
monochromatic
#511329 #821E43 #B42A5C #D4477A #E0799E

Accessibility & contrast

On white

6.13
#B42A5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B42A5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42A5C
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42A5C#FFFFFF#000000##FFFFFF
##B42A5C1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C505D
Deuteranopia (green-blind)
#706B59
Tritanopia (blue-blind)
#C40540
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b42a5c;
/* rgb */ color: rgb(180, 42, 92);
/* oklch */ color: oklch(51.8% 0.177 4.3);
Tailwind
colors: {
  custom: {
    50: '#d07189',
    500: '#b42a5c',
    950: '#000000',
  },
}
SCSS
$custom: #b42a5c;
$custom-light: #d07189;
$custom-dark: #000000;
JSON
{
  "hex": "#b42a5c",
  "rgb": {
    "r": 180,
    "g": 42,
    "b": 92
  },
  "hsl": {
    "h": 338.261,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51805,
    "c": 0.17651,
    "h": 4.3
  },
  "luminance": 0.12132
}

Semantic roles & 50–950 ramp

primary
#B42A5C
secondary
#72C8A9
accent
#E5AA43
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B42A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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