#B42152#B42152

#B42152 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.9% C 0.182 H 7.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B42152
RGBrgb(180, 33, 82)
HSLhsl(340, 69%, 42%)
HSVhsv(340, 82%, 71%)
CMYKcmyk(0%, 81.7%, 54.4%, 29.4%)
CIE-LABlab(40.25, 59.28, 9.60)
CIE-LCHlch(40.25, 60.06, 9.20°)
OKLaboklab(50.85% 0.1807 0.0246)
OKLCHoklch(50.85% 0.182 7.7)
XYZxyz(20.8912, 11.4033, 9.0820)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42152 #21B483
analogous
#B4219C #B42152 #B43A21
triadic
#B42152 #52B421 #2152B4
tetradic
#B42152 #9CB421 #21B483 #3A21B4
square
#B42152 #9CB421 #21B483 #3A21B4
split-complementary
#B42152 #21B43A #219CB4
monochromatic
#4D0E23 #80183A #B42152 #DA386E #E46B94

Accessibility & contrast

On white

6.40
#B42152 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#B42152 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42152
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42152#FFFFFF#000000##FFFFFF
##B421521.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4C53
Deuteranopia (green-blind)
#70694E
Tritanopia (blue-blind)
#C50037
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b42152;
/* rgb */ color: rgb(180, 33, 82);
/* oklch */ color: oklch(50.9% 0.182 7.7);
Tailwind
colors: {
  custom: {
    50: '#d16d82',
    500: '#b42152',
    950: '#000000',
  },
}
SCSS
$custom: #b42152;
$custom-light: #d16d82;
$custom-dark: #000000;
JSON
{
  "hex": "#b42152",
  "rgb": {
    "r": 180,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 340,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50852,
    "c": 0.18233,
    "h": 7.7
  },
  "luminance": 0.114
}

Semantic roles & 50–950 ramp

primary
#B42152
secondary
#67CAA9
accent
#ECB13C
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B42152

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

Preview Lab → · Contrast checker → · Palette generator →

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