#B42E72#B42E72

#B42E72 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.180 H 354.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B42E72
RGBrgb(180, 46, 114)
HSLhsl(330, 59%, 44%)
HSVhsv(330, 74%, 71%)
CMYKcmyk(0%, 74.4%, 36.7%, 29.4%)
CIE-LABlab(42.57, 58.37, -7.12)
CIE-LCHlch(42.57, 58.80, 353.04°)
OKLaboklab(52.87% 0.1791 -0.0181)
OKLCHoklch(52.87% 0.18 354.2)
XYZxyz(22.8381, 12.8750, 17.1988)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E72 #2EB470
analogous
#B32EB4 #B42E72 #B42E2F
triadic
#B42E72 #72B42E #2E72B4
tetradic
#B42E72 #B4B32E #2EB470 #2E2FB4
square
#B42E72 #B4B32E #2EB470 #2E2FB4
split-complementary
#B42E72 #2FB42E #2EB4B3
monochromatic
#531534 #832253 #B42E72 #D24E91 #DE7EAF

Accessibility & contrast

On white

5.88
#B42E72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B42E72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E72
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E72#FFFFFF#000000##FFFFFF
##B42E721.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475574
Deuteranopia (green-blind)
#6D6D6F
Tritanopia (blue-blind)
#C2204C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b42e72;
/* rgb */ color: rgb(180, 46, 114);
/* oklch */ color: oklch(52.9% 0.180 354.2);
Tailwind
colors: {
  custom: {
    50: '#cf739a',
    500: '#b42e72',
    950: '#000000',
  },
}
SCSS
$custom: #b42e72;
$custom-light: #cf739a;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e72",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 329.552,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52869,
    "c": 0.17999,
    "h": 354.2
  },
  "luminance": 0.12872
}

Semantic roles & 50–950 ramp

primary
#B42E72
secondary
#77C79E
accent
#E29345
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B42E72

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

Preview Lab → · Contrast checker → · Palette generator →

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