#B42852#B42852

#B42852 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.176 H 8.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B42852
RGBrgb(180, 40, 82)
HSLhsl(342, 64%, 43%)
HSVhsv(342, 78%, 71%)
CMYKcmyk(0%, 77.8%, 54.4%, 29.4%)
CIE-LABlab(40.95, 57.31, 10.57)
CIE-LCHlch(40.95, 58.27, 10.46°)
OKLaboklab(51.37% 0.1743 0.0269)
OKLCHoklch(51.37% 0.176 8.8)
XYZxyz(21.1062, 11.8331, 9.1536)
Luminance0.1183 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42852 #28B48A
analogous
#B42898 #B42852 #B44428
triadic
#B42852 #52B428 #2852B4
tetradic
#B42852 #98B428 #28B48A #4428B4
square
#B42852 #98B428 #28B48A #4428B4
split-complementary
#B42852 #28B444 #2898B4
monochromatic
#501224 #821D3B #B42852 #D5446F #E17696

Accessibility & contrast

On white

6.24
#B42852 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B42852 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42852
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42852#FFFFFF#000000##FFFFFF
##B428521.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4F53
Deuteranopia (green-blind)
#716B4F
Tritanopia (blue-blind)
#C5003A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b42852;
/* rgb */ color: rgb(180, 40, 82);
/* oklch */ color: oklch(51.4% 0.176 8.8);
Tailwind
colors: {
  custom: {
    50: '#d17082',
    500: '#b42852',
    950: '#000000',
  },
}
SCSS
$custom: #b42852;
$custom-light: #d17082;
$custom-dark: #000000;
JSON
{
  "hex": "#b42852",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 342,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51366,
    "c": 0.17635,
    "h": 8.8
  },
  "luminance": 0.1183
}

Semantic roles & 50–950 ramp

primary
#B42852
secondary
#70C8AE
accent
#E7B541
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B42852

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

Preview Lab → · Contrast checker → · Palette generator →

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