#B42047#B42047

#B42047 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.182 H 12.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#B42047
RGBrgb(180, 32, 71)
HSLhsl(344, 70%, 42%)
HSVhsv(344, 82%, 71%)
CMYKcmyk(0%, 82.2%, 60.6%, 29.4%)
CIE-LABlab(39.91, 58.77, 16.11)
CIE-LCHlch(39.91, 60.94, 15.33°)
OKLaboklab(50.52% 0.1772 0.0397)
OKLCHoklch(50.52% 0.182 12.6)
XYZxyz(20.4784, 11.1944, 7.0424)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42047 #20B48D
analogous
#B42091 #B42047 #B44320
triadic
#B42047 #47B420 #2047B4
tetradic
#B42047 #91B420 #20B48D #4320B4
square
#B42047 #91B420 #20B48D #4320B4
split-complementary
#B42047 #20B443 #2091B4
monochromatic
#4C0E1E #801733 #B42047 #DB3662 #E46A8A

Accessibility & contrast

On white

6.49
#B42047 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#B42047 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42047
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42047#FFFFFF#000000##FFFFFF
##B420471.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4B47
Deuteranopia (green-blind)
#716943
Tritanopia (blue-blind)
#C50031
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b42047;
/* rgb */ color: rgb(180, 32, 71);
/* oklch */ color: oklch(50.5% 0.182 12.6);
Tailwind
colors: {
  custom: {
    50: '#d26c79',
    500: '#b42047',
    950: '#000000',
  },
}
SCSS
$custom: #b42047;
$custom-light: #d26c79;
$custom-dark: #000000;
JSON
{
  "hex": "#b42047",
  "rgb": {
    "r": 180,
    "g": 32,
    "b": 71
  },
  "hsl": {
    "h": 344.189,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50515,
    "c": 0.18162,
    "h": 12.6
  },
  "luminance": 0.11191
}

Semantic roles & 50–950 ramp

primary
#B42047
secondary
#66CAB0
accent
#EDBE3B
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B42047

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

Preview Lab → · Contrast checker → · Palette generator →

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