#B42C8E#B42C8E

#B42C8E is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.9% C 0.197 H 341.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B42C8E
RGBrgb(180, 44, 142)
HSLhsl(317, 61%, 44%)
HSVhsv(317, 76%, 71%)
CMYKcmyk(0%, 75.6%, 21.1%, 29.4%)
CIE-LABlab(43.45, 62.42, -22.98)
CIE-LCHlch(43.45, 66.52, 339.79°)
OKLaboklab(53.87% 0.1874 -0.0618)
OKLCHoklch(53.87% 0.197 341.8)
XYZxyz(24.6064, 13.4602, 26.8881)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42C8E #2CB452
analogous
#962CB4 #B42C8E #B42C4A
triadic
#B42C8E #8EB42C #2C8EB4
tetradic
#B42C8E #B4962C #2CB452 #2C4AB4
square
#B42C8E #B4962C #2CB452 #2C4AB4
split-complementary
#B42C8E #4AB42C #2CB496
monochromatic
#521440 #832067 #B42C8E #D34AAD #DF7CC3

Accessibility & contrast

On white

5.69
#B42C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B42C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42C8E
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42C8E#FFFFFF#000000##FFFFFF
##B42C8E1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395991
Deuteranopia (green-blind)
#646F8B
Tritanopia (blue-blind)
#BF2E5A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b42c8e;
/* rgb */ color: rgb(180, 44, 142);
/* oklch */ color: oklch(53.9% 0.197 341.8);
Tailwind
colors: {
  custom: {
    50: '#cf73af',
    500: '#b42c8e',
    950: '#000000',
  },
}
SCSS
$custom: #b42c8e;
$custom-light: #cf73af;
$custom-dark: #000000;
JSON
{
  "hex": "#b42c8e",
  "rgb": {
    "r": 180,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 316.765,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53866,
    "c": 0.19731,
    "h": 341.8
  },
  "luminance": 0.13458
}

Semantic roles & 50–950 ramp

primary
#B42C8E
secondary
#75C78C
accent
#E47144
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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