#B42147#B42147

#B42147 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.181 H 12.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#B42147
RGBrgb(180, 33, 71)
HSLhsl(344, 69%, 42%)
HSVhsv(344, 82%, 71%)
CMYKcmyk(0%, 81.7%, 60.6%, 29.4%)
CIE-LABlab(40.00, 58.52, 16.23)
CIE-LCHlch(40.00, 60.72, 15.50°)
OKLaboklab(50.58% 0.1764 0.04)
OKLCHoklch(50.58% 0.181 12.8)
XYZxyz(20.5057, 11.2490, 7.0516)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42147 #21B48E
analogous
#B42191 #B42147 #B44521
triadic
#B42147 #47B421 #2147B4
tetradic
#B42147 #91B421 #21B48E #4521B4
square
#B42147 #91B421 #21B48E #4521B4
split-complementary
#B42147 #21B445 #2191B4
monochromatic
#4D0E1E #801833 #B42147 #DA3862 #E46B8B

Accessibility & contrast

On white

6.46
#B42147 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#B42147 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42147
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42147#FFFFFF#000000##FFFFFF
##B421471.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42147;
/* rgb */ color: rgb(180, 33, 71);
/* oklch */ color: oklch(50.6% 0.181 12.8);
Tailwind
colors: {
  custom: {
    50: '#d26d79',
    500: '#b42147',
    950: '#000000',
  },
}
SCSS
$custom: #b42147;
$custom-light: #d26d79;
$custom-dark: #000000;
JSON
{
  "hex": "#b42147",
  "rgb": {
    "r": 180,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 344.49,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50582,
    "c": 0.18088,
    "h": 12.8
  },
  "luminance": 0.11246
}

Semantic roles & 50–950 ramp

primary
#B42147
secondary
#67CAB0
accent
#ECBE3C
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B42147

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

Preview Lab → · Contrast checker → · Palette generator →

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