#B42E5D#B42E5D

#B42E5D is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.2% C 0.173 H 4.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B42E5D
RGBrgb(180, 46, 93)
HSLhsl(339, 59%, 44%)
HSVhsv(339, 74%, 71%)
CMYKcmyk(0%, 74.4%, 48.3%, 29.4%)
CIE-LABlab(41.92, 56.28, 5.03)
CIE-LCHlch(41.92, 56.51, 5.10°)
OKLaboklab(52.18% 0.1722 0.0134)
OKLCHoklch(52.18% 0.173 4.5)
XYZxyz(21.7770, 12.4505, 11.6103)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E5D #2EB485
analogous
#B42EA0 #B42E5D #B4422E
triadic
#B42E5D #5DB42E #2E5DB4
tetradic
#B42E5D #A0B42E #2EB485 #422EB4
square
#B42E5D #A0B42E #2EB485 #422EB4
split-complementary
#B42E5D #2EB442 #2EA0B4
monochromatic
#53152B #832244 #B42E5D #D24E7C #DE7EA0

Accessibility & contrast

On white

6.02
#B42E5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B42E5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E5D
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E5D#FFFFFF#000000##FFFFFF
##B42E5D1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E525E
Deuteranopia (green-blind)
#716C5A
Tritanopia (blue-blind)
#C41142
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b42e5d;
/* rgb */ color: rgb(180, 46, 93);
/* oklch */ color: oklch(52.2% 0.173 4.5);
Tailwind
colors: {
  custom: {
    50: '#d0728a',
    500: '#b42e5d',
    950: '#000000',
  },
}
SCSS
$custom: #b42e5d;
$custom-light: #d0728a;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e5d",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 93
  },
  "hsl": {
    "h": 338.955,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52177,
    "c": 0.17268,
    "h": 4.5
  },
  "luminance": 0.12448
}

Semantic roles & 50–950 ramp

primary
#B42E5D
secondary
#77C7AB
accent
#E2AB45
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B42E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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