#B42B7F#B42B7F

#B42B7F is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.1% C 0.190 H 348.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B42B7F
RGBrgb(180, 43, 127)
HSLhsl(323, 61%, 44%)
HSVhsv(323, 76%, 71%)
CMYKcmyk(0%, 76.1%, 29.4%, 29.4%)
CIE-LABlab(42.71, 60.83, -14.94)
CIE-LCHlch(42.71, 62.64, 346.20°)
OKLaboklab(53.13% 0.1855 -0.0393)
OKLCHoklch(53.13% 0.19 348)
XYZxyz(23.5182, 12.9660, 21.3387)
Luminance0.1296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42B7F #2BB460
analogous
#A42BB4 #B42B7F #B42B3A
triadic
#B42B7F #7FB42B #2B7FB4
tetradic
#B42B7F #B4A42B #2BB460 #2B3AB4
square
#B42B7F #B4A42B #2BB460 #2B3AB4
split-complementary
#B42B7F #3AB42B #2BB4A4
monochromatic
#511339 #831F5C #B42B7F #D3499E #DF7AB8

Accessibility & contrast

On white

5.85
#B42B7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B42B7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42B7F
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42B7F#FFFFFF#000000##FFFFFF
##B42B7F1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405681
Deuteranopia (green-blind)
#696D7C
Tritanopia (blue-blind)
#C12452
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b42b7f;
/* rgb */ color: rgb(180, 43, 127);
/* oklch */ color: oklch(53.1% 0.190 348.0);
Tailwind
colors: {
  custom: {
    50: '#cf72a4',
    500: '#b42b7f',
    950: '#000000',
  },
}
SCSS
$custom: #b42b7f;
$custom-light: #cf72a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b42b7f",
  "rgb": {
    "r": 180,
    "g": 43,
    "b": 127
  },
  "hsl": {
    "h": 323.212,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53126,
    "c": 0.1896,
    "h": 348
  },
  "luminance": 0.12963
}

Semantic roles & 50–950 ramp

primary
#B42B7F
secondary
#73C794
accent
#E58243
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B42B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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