#B42752#B42752

#B42752 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.177 H 8.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B42752
RGBrgb(180, 39, 82)
HSLhsl(342, 64%, 43%)
HSVhsv(342, 78%, 71%)
CMYKcmyk(0%, 78.3%, 54.4%, 29.4%)
CIE-LABlab(40.84, 57.61, 10.43)
CIE-LCHlch(40.84, 58.54, 10.26°)
OKLaboklab(51.29% 0.1753 0.0266)
OKLCHoklch(51.29% 0.177 8.6)
XYZxyz(21.0729, 11.7666, 9.1425)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42752 #27B489
analogous
#B42798 #B42752 #B44227
triadic
#B42752 #52B427 #2752B4
tetradic
#B42752 #98B427 #27B489 #4227B4
square
#B42752 #98B427 #27B489 #4227B4
split-complementary
#B42752 #27B442 #2798B4
monochromatic
#4F1124 #821C3B #B42752 #D6426F #E17496

Accessibility & contrast

On white

6.26
#B42752 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B42752 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42752
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42752#FFFFFF#000000##FFFFFF
##B427521.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4E53
Deuteranopia (green-blind)
#716A4F
Tritanopia (blue-blind)
#C5003A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42752;
/* rgb */ color: rgb(180, 39, 82);
/* oklch */ color: oklch(51.3% 0.177 8.6);
Tailwind
colors: {
  custom: {
    50: '#d16f82',
    500: '#b42752',
    950: '#000000',
  },
}
SCSS
$custom: #b42752;
$custom-light: #d16f82;
$custom-dark: #000000;
JSON
{
  "hex": "#b42752",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 82
  },
  "hsl": {
    "h": 341.702,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51287,
    "c": 0.17725,
    "h": 8.6
  },
  "luminance": 0.11764
}

Semantic roles & 50–950 ramp

primary
#B42752
secondary
#6FC8AD
accent
#E7B440
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B42752

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

Preview Lab → · Contrast checker → · Palette generator →

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