#B42C7F#B42C7F

#B42C7F is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.2% C 0.189 H 348.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B42C7F
RGBrgb(180, 44, 127)
HSLhsl(323, 61%, 44%)
HSVhsv(323, 76%, 71%)
CMYKcmyk(0%, 75.6%, 29.4%, 29.4%)
CIE-LABlab(42.82, 60.52, -14.78)
CIE-LCHlch(42.82, 62.29, 346.28°)
OKLaboklab(53.21% 0.1845 -0.0389)
OKLCHoklch(53.21% 0.189 348.1)
XYZxyz(23.5550, 13.0396, 21.3510)
Luminance0.1304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42C7F #2CB461
analogous
#A52CB4 #B42C7F #B42C3B
triadic
#B42C7F #7FB42C #2C7FB4
tetradic
#B42C7F #B4A52C #2CB461 #2C3BB4
square
#B42C7F #B4A52C #2CB461 #2C3BB4
split-complementary
#B42C7F #3BB42C #2CB4A5
monochromatic
#52143A #83205C #B42C7F #D34A9E #DF7CB8

Accessibility & contrast

On white

5.82
#B42C7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B42C7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42C7F
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42C7F#FFFFFF#000000##FFFFFF
##B42C7F1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415681
Deuteranopia (green-blind)
#696E7C
Tritanopia (blue-blind)
#C12652
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42c7f;
/* rgb */ color: rgb(180, 44, 127);
/* oklch */ color: oklch(53.2% 0.189 348.1);
Tailwind
colors: {
  custom: {
    50: '#cf73a4',
    500: '#b42c7f',
    950: '#000000',
  },
}
SCSS
$custom: #b42c7f;
$custom-light: #cf73a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b42c7f",
  "rgb": {
    "r": 180,
    "g": 44,
    "b": 127
  },
  "hsl": {
    "h": 323.382,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53207,
    "c": 0.18855,
    "h": 348.1
  },
  "luminance": 0.13037
}

Semantic roles & 50–950 ramp

primary
#B42C7F
secondary
#75C795
accent
#E48244
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B42C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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