#B42452#B42452

#B42452 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.180 H 8.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#B42452
RGBrgb(180, 36, 82)
HSLhsl(341, 67%, 42%)
HSVhsv(341, 80%, 71%)
CMYKcmyk(0%, 80%, 54.4%, 29.4%)
CIE-LABlab(40.54, 58.48, 10.00)
CIE-LCHlch(40.54, 59.33, 9.70°)
OKLaboklab(51.06% 0.1781 0.0255)
OKLCHoklch(51.06% 0.18 8.2)
XYZxyz(20.9783, 11.5773, 9.1110)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42452 #24B486
analogous
#B4249A #B42452 #B43E24
triadic
#B42452 #52B424 #2452B4
tetradic
#B42452 #9AB424 #24B486 #3E24B4
square
#B42452 #9AB424 #24B486 #3E24B4
split-complementary
#B42452 #24B43E #249AB4
monochromatic
#4E1024 #811A3B #B42452 #D83D6F #E27095

Accessibility & contrast

On white

6.34
#B42452 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#B42452 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42452
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42452#FFFFFF#000000##FFFFFF
##B424521.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4D53
Deuteranopia (green-blind)
#716A4E
Tritanopia (blue-blind)
#C50038
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42452;
/* rgb */ color: rgb(180, 36, 82);
/* oklch */ color: oklch(51.1% 0.180 8.2);
Tailwind
colors: {
  custom: {
    50: '#d16e82',
    500: '#b42452',
    950: '#000000',
  },
}
SCSS
$custom: #b42452;
$custom-light: #d16e82;
$custom-dark: #000000;
JSON
{
  "hex": "#b42452",
  "rgb": {
    "r": 180,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 340.833,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51062,
    "c": 0.17987,
    "h": 8.2
  },
  "luminance": 0.11574
}

Semantic roles & 50–950 ramp

primary
#B42452
secondary
#6BC9AB
accent
#EAB33E
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B42452

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

Preview Lab → · Contrast checker → · Palette generator →

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