#B42E71#B42E71

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

Color values

HEX#B42E71
RGBrgb(180, 46, 113)
HSLhsl(330, 59%, 44%)
HSVhsv(330, 74%, 71%)
CMYKcmyk(0%, 74.4%, 37.2%, 29.4%)
CIE-LABlab(42.54, 58.26, -6.55)
CIE-LCHlch(42.54, 58.63, 353.58°)
OKLaboklab(52.83% 0.1788 -0.0166)
OKLCHoklch(52.83% 0.18 354.7)
XYZxyz(22.7815, 12.8523, 16.9006)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E71 #2EB471
analogous
#B42EB4 #B42E71 #B42E2E
triadic
#B42E71 #71B42E #2E71B4
tetradic
#B42E71 #B4B42E #2EB471 #2E2EB4
square
#B42E71 #B4B42E #2EB471 #2E2EB4
split-complementary
#B42E71 #2EB42E #2EB4B4
monochromatic
#531534 #832252 #B42E71 #D24E90 #DE7EAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42E71#FFFFFF#000000##FFFFFF
##B42E711.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)
#485573
Deuteranopia (green-blind)
#6D6D6E
Tritanopia (blue-blind)
#C21F4B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b42e71;
/* rgb */ color: rgb(180, 46, 113);
/* oklch */ color: oklch(52.8% 0.180 354.7);
Tailwind
colors: {
  custom: {
    50: '#cf7399',
    500: '#b42e71',
    950: '#000000',
  },
}
SCSS
$custom: #b42e71;
$custom-light: #cf7399;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e71",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 330,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52832,
    "c": 0.17956,
    "h": 354.7
  },
  "luminance": 0.1285
}

Semantic roles & 50–950 ramp

primary
#B42E71
secondary
#77C79F
accent
#E29445
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B42E71

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

Preview Lab → · Contrast checker → · Palette generator →

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