#B42E54#B42E54

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

Color values

HEX#B42E54
RGBrgb(180, 46, 84)
HSLhsl(343, 59%, 44%)
HSVhsv(343, 74%, 71%)
CMYKcmyk(0%, 74.4%, 53.3%, 29.4%)
CIE-LABlab(41.69, 55.52, 10.35)
CIE-LCHlch(41.69, 56.48, 10.56°)
OKLaboklab(51.93% 0.1688 0.0264)
OKLCHoklch(51.93% 0.171 8.9)
XYZxyz(21.4016, 12.3004, 9.6330)
Luminance0.1230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E54 #2EB48E
analogous
#B42E97 #B42E54 #B44B2E
triadic
#B42E54 #54B42E #2E54B4
tetradic
#B42E54 #97B42E #2EB48E #4B2EB4
square
#B42E54 #97B42E #2EB48E #4B2EB4
split-complementary
#B42E54 #2EB44B #2E97B4
monochromatic
#531527 #83223D #B42E54 #D24E73 #DE7E99

Accessibility & contrast

On white

6.07
#B42E54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#B42E54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E54
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E54#FFFFFF#000000##FFFFFF
##B42E541.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505155
Deuteranopia (green-blind)
#736C51
Tritanopia (blue-blind)
#C4093E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b42e54;
/* rgb */ color: rgb(180, 46, 84);
/* oklch */ color: oklch(51.9% 0.171 8.9);
Tailwind
colors: {
  custom: {
    50: '#d17283',
    500: '#b42e54',
    950: '#000000',
  },
}
SCSS
$custom: #b42e54;
$custom-light: #d17283;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e54",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 84
  },
  "hsl": {
    "h": 342.985,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51928,
    "c": 0.17085,
    "h": 8.9
  },
  "luminance": 0.12297
}

Semantic roles & 50–950 ramp

primary
#B42E54
secondary
#77C7B0
accent
#E2B645
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B42E54

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

Preview Lab → · Contrast checker → · Palette generator →

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