#B42C7E#B42C7E

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

Color values

HEX#B42C7E
RGBrgb(180, 44, 126)
HSLhsl(324, 61%, 44%)
HSVhsv(324, 76%, 71%)
CMYKcmyk(0%, 75.6%, 30%, 29.4%)
CIE-LABlab(42.78, 60.40, -14.22)
CIE-LCHlch(42.78, 62.05, 346.75°)
OKLaboklab(53.17% 0.1843 -0.0373)
OKLCHoklch(53.17% 0.188 348.5)
XYZxyz(23.4902, 13.0137, 21.0095)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42C7E #2CB462
analogous
#A62CB4 #B42C7E #B42C3A
triadic
#B42C7E #7EB42C #2C7EB4
tetradic
#B42C7E #B4A62C #2CB462 #2C3AB4
square
#B42C7E #B4A62C #2CB462 #2C3AB4
split-complementary
#B42C7E #3AB42C #2CB4A6
monochromatic
#521439 #83205C #B42C7E #D34A9D #DF7CB7

Accessibility & contrast

On white

5.83
#B42C7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42C7E
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42C7E#FFFFFF#000000##FFFFFF
##B42C7E1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415680
Deuteranopia (green-blind)
#696E7B
Tritanopia (blue-blind)
#C12551
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42c7e;
/* rgb */ color: rgb(180, 44, 126);
/* oklch */ color: oklch(53.2% 0.188 348.5);
Tailwind
colors: {
  custom: {
    50: '#cf73a3',
    500: '#b42c7e',
    950: '#000000',
  },
}
SCSS
$custom: #b42c7e;
$custom-light: #cf73a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b42c7e",
  "rgb": {
    "r": 180,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 323.824,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53166,
    "c": 0.18802,
    "h": 348.5
  },
  "luminance": 0.13011
}

Semantic roles & 50–950 ramp

primary
#B42C7E
secondary
#75C795
accent
#E48344
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B42C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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