#B42E52#B42E52

#B42E52 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.9% C 0.171 H 9.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B42E52
RGBrgb(180, 46, 82)
HSLhsl(344, 59%, 44%)
HSVhsv(344, 74%, 71%)
CMYKcmyk(0%, 74.4%, 54.4%, 29.4%)
CIE-LABlab(41.64, 55.37, 11.54)
CIE-LCHlch(41.64, 56.56, 11.77°)
OKLaboklab(51.88% 0.168 0.0293)
OKLCHoklch(51.88% 0.171 9.9)
XYZxyz(21.3244, 12.2695, 9.2264)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E52 #2EB490
analogous
#B42E95 #B42E52 #B44D2E
triadic
#B42E52 #52B42E #2E52B4
tetradic
#B42E52 #95B42E #2EB490 #4D2EB4
square
#B42E52 #95B42E #2EB490 #4D2EB4
split-complementary
#B42E52 #2EB44D #2E95B4
monochromatic
#531526 #83223C #B42E52 #D24E71 #DE7E98

Accessibility & contrast

On white

6.08
#B42E52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B42E52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E52
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E52#FFFFFF#000000##FFFFFF
##B42E521.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42e52;
/* rgb */ color: rgb(180, 46, 82);
/* oklch */ color: oklch(51.9% 0.171 9.9);
Tailwind
colors: {
  custom: {
    50: '#d17282',
    500: '#b42e52',
    950: '#000000',
  },
}
SCSS
$custom: #b42e52;
$custom-light: #d17282;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e52",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 343.881,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51877,
    "c": 0.17055,
    "h": 9.9
  },
  "luminance": 0.12266
}

Semantic roles & 50–950 ramp

primary
#B42E52
secondary
#77C7B1
accent
#E2B845
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B42E52

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

Preview Lab → · Contrast checker → · Palette generator →

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