#B42952#B42952

#B42952 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.175 H 9.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#B42952
RGBrgb(180, 41, 82)
HSLhsl(342, 63%, 43%)
HSVhsv(342, 77%, 71%)
CMYKcmyk(0%, 77.2%, 54.4%, 29.4%)
CIE-LABlab(41.06, 57.00, 10.73)
CIE-LCHlch(41.06, 58.00, 10.66°)
OKLaboklab(51.45% 0.1733 0.0273)
OKLCHoklch(51.45% 0.175 9)
XYZxyz(21.1403, 11.9014, 9.1650)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42952 #29B48B
analogous
#B42997 #B42952 #B44529
triadic
#B42952 #52B429 #2952B4
tetradic
#B42952 #97B429 #29B48B #4529B4
square
#B42952 #97B429 #29B48B #4529B4
split-complementary
#B42952 #29B445 #2997B4
monochromatic
#501225 #821E3B #B42952 #D54570 #E07796

Accessibility & contrast

On white

6.21
#B42952 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#B42952 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42952
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42952#FFFFFF#000000##FFFFFF
##B429521.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4F53
Deuteranopia (green-blind)
#726B4F
Tritanopia (blue-blind)
#C5003B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b42952;
/* rgb */ color: rgb(180, 41, 82);
/* oklch */ color: oklch(51.4% 0.175 9.0);
Tailwind
colors: {
  custom: {
    50: '#d17082',
    500: '#b42952',
    950: '#000000',
  },
}
SCSS
$custom: #b42952;
$custom-light: #d17082;
$custom-dark: #000000;
JSON
{
  "hex": "#b42952",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 82
  },
  "hsl": {
    "h": 342.302,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51447,
    "c": 0.17542,
    "h": 9
  },
  "luminance": 0.11898
}

Semantic roles & 50–950 ramp

primary
#B42952
secondary
#71C8AE
accent
#E6B642
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B42952

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

Preview Lab → · Contrast checker → · Palette generator →

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