#B42E51#B42E51

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

Color values

HEX#B42E51
RGBrgb(180, 46, 81)
HSLhsl(344, 59%, 44%)
HSVhsv(344, 74%, 71%)
CMYKcmyk(0%, 74.4%, 55%, 29.4%)
CIE-LABlab(41.62, 55.29, 12.13)
CIE-LCHlch(41.62, 56.60, 12.38°)
OKLaboklab(51.85% 0.1676 0.0307)
OKLCHoklch(51.85% 0.17 10.4)
XYZxyz(21.2866, 12.2544, 9.0274)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E51 #2EB491
analogous
#B42E94 #B42E51 #B44E2E
triadic
#B42E51 #51B42E #2E51B4
tetradic
#B42E51 #94B42E #2EB491 #4E2EB4
square
#B42E51 #94B42E #2EB491 #4E2EB4
split-complementary
#B42E51 #2EB44E #2E94B4
monochromatic
#531525 #83223B #B42E51 #D24E70 #DE7E97

Accessibility & contrast

On white

6.09
#B42E51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42E51
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E51#FFFFFF#000000##FFFFFF
##B42E511.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515152
Deuteranopia (green-blind)
#736C4E
Tritanopia (blue-blind)
#C5063D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b42e51;
/* rgb */ color: rgb(180, 46, 81);
/* oklch */ color: oklch(51.9% 0.170 10.4);
Tailwind
colors: {
  custom: {
    50: '#d17281',
    500: '#b42e51',
    950: '#000000',
  },
}
SCSS
$custom: #b42e51;
$custom-light: #d17281;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e51",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 81
  },
  "hsl": {
    "h": 344.328,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51852,
    "c": 0.17041,
    "h": 10.4
  },
  "luminance": 0.12251
}

Semantic roles & 50–950 ramp

primary
#B42E51
secondary
#77C7B2
accent
#E2B945
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B42E51

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

Preview Lab → · Contrast checker → · Palette generator →

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