#B42C7D#B42C7D

#B42C7D is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.1% C 0.187 H 349.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B42C7D
RGBrgb(180, 44, 125)
HSLhsl(324, 61%, 44%)
HSVhsv(324, 76%, 71%)
CMYKcmyk(0%, 75.6%, 30.6%, 29.4%)
CIE-LABlab(42.75, 60.28, -13.66)
CIE-LCHlch(42.75, 61.81, 347.23°)
OKLaboklab(53.13% 0.184 -0.0358)
OKLCHoklch(53.13% 0.187 349)
XYZxyz(23.4260, 12.9880, 20.6713)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42C7D #2CB463
analogous
#A72CB4 #B42C7D #B42C39
triadic
#B42C7D #7DB42C #2C7DB4
tetradic
#B42C7D #B4A72C #2CB463 #2C39B4
square
#B42C7D #B4A72C #2CB463 #2C39B4
split-complementary
#B42C7D #39B42C #2CB4A7
monochromatic
#521439 #83205B #B42C7D #D34A9C #DF7CB7

Accessibility & contrast

On white

5.84
#B42C7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B42C7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42C7D
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42C7D#FFFFFF#000000##FFFFFF
##B42C7D1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42567F
Deuteranopia (green-blind)
#696E7A
Tritanopia (blue-blind)
#C12451
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42c7d;
/* rgb */ color: rgb(180, 44, 125);
/* oklch */ color: oklch(53.1% 0.187 349.0);
Tailwind
colors: {
  custom: {
    50: '#cf73a2',
    500: '#b42c7d',
    950: '#000000',
  },
}
SCSS
$custom: #b42c7d;
$custom-light: #cf73a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b42c7d",
  "rgb": {
    "r": 180,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 324.265,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53125,
    "c": 0.18748,
    "h": 349
  },
  "luminance": 0.12985
}

Semantic roles & 50–950 ramp

primary
#B42C7D
secondary
#75C796
accent
#E48544
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B42C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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