#B42D52#B42D52

#B42D52 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.8% C 0.172 H 9.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#B42D52
RGBrgb(180, 45, 82)
HSLhsl(344, 60%, 44%)
HSVhsv(344, 75%, 71%)
CMYKcmyk(0%, 75%, 54.4%, 29.4%)
CIE-LABlab(41.52, 55.70, 11.37)
CIE-LCHlch(41.52, 56.85, 11.53°)
OKLaboklab(51.79% 0.1691 0.0289)
OKLCHoklch(51.79% 0.172 9.7)
XYZxyz(21.2858, 12.1923, 9.2135)
Luminance0.1219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42D52 #2DB48F
analogous
#B42D96 #B42D52 #B44C2D
triadic
#B42D52 #52B42D #2D52B4
tetradic
#B42D52 #96B42D #2DB48F #4C2DB4
square
#B42D52 #96B42D #2DB48F #4C2DB4
split-complementary
#B42D52 #2DB44C #2D96B4
monochromatic
#521525 #83213C #B42D52 #D24C71 #DE7D98

Accessibility & contrast

On white

6.11
#B42D52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B42D52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42D52
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42D52#FFFFFF#000000##FFFFFF
##B42D521.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505153
Deuteranopia (green-blind)
#736C4F
Tritanopia (blue-blind)
#C5043D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b42d52;
/* rgb */ color: rgb(180, 45, 82);
/* oklch */ color: oklch(51.8% 0.172 9.7);
Tailwind
colors: {
  custom: {
    50: '#d17282',
    500: '#b42d52',
    950: '#000000',
  },
}
SCSS
$custom: #b42d52;
$custom-light: #d17282;
$custom-dark: #000000;
JSON
{
  "hex": "#b42d52",
  "rgb": {
    "r": 180,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 343.556,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51787,
    "c": 0.17155,
    "h": 9.7
  },
  "luminance": 0.12189
}

Semantic roles & 50–950 ramp

primary
#B42D52
secondary
#76C7B1
accent
#E3B845
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B42D52

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

Preview Lab → · Contrast checker → · Palette generator →

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