#B42C81#B42C81

#B42C81 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.3% C 0.190 H 347.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B42C81
RGBrgb(180, 44, 129)
HSLhsl(323, 61%, 44%)
HSVhsv(323, 76%, 71%)
CMYKcmyk(0%, 75.6%, 28.3%, 29.4%)
CIE-LABlab(42.90, 60.76, -15.88)
CIE-LCHlch(42.90, 62.80, 345.35°)
OKLaboklab(53.29% 0.185 -0.0419)
OKLCHoklch(53.29% 0.19 347.2)
XYZxyz(23.6867, 13.0923, 22.0443)
Luminance0.1309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42C81 #2CB45F
analogous
#A32CB4 #B42C81 #B42C3D
triadic
#B42C81 #81B42C #2C81B4
tetradic
#B42C81 #B4A32C #2CB45F #2C3DB4
square
#B42C81 #B4A32C #2CB45F #2C3DB4
split-complementary
#B42C81 #3DB42C #2CB4A3
monochromatic
#52143B #83205E #B42C81 #D34AA0 #DF7CBA

Accessibility & contrast

On white

5.80
#B42C81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B42C81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42C81
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42C81#FFFFFF#000000##FFFFFF
##B42C811.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405683
Deuteranopia (green-blind)
#686E7E
Tritanopia (blue-blind)
#C12753
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42c81;
/* rgb */ color: rgb(180, 44, 129);
/* oklch */ color: oklch(53.3% 0.190 347.2);
Tailwind
colors: {
  custom: {
    50: '#cf73a5',
    500: '#b42c81',
    950: '#000000',
  },
}
SCSS
$custom: #b42c81;
$custom-light: #cf73a5;
$custom-dark: #000000;
JSON
{
  "hex": "#b42c81",
  "rgb": {
    "r": 180,
    "g": 44,
    "b": 129
  },
  "hsl": {
    "h": 322.5,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53291,
    "c": 0.18964,
    "h": 347.2
  },
  "luminance": 0.1309
}

Semantic roles & 50–950 ramp

primary
#B42C81
secondary
#75C794
accent
#E48044
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B42C81

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

Preview Lab → · Contrast checker → · Palette generator →

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