#B42E5E#B42E5E

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

Color values

HEX#B42E5E
RGBrgb(180, 46, 94)
HSLhsl(339, 59%, 44%)
HSVhsv(339, 74%, 71%)
CMYKcmyk(0%, 74.4%, 47.8%, 29.4%)
CIE-LABlab(41.95, 56.37, 4.44)
CIE-LCHlch(41.95, 56.55, 4.50°)
OKLaboklab(52.21% 0.1725 0.012)
OKLCHoklch(52.21% 0.173 4)
XYZxyz(21.8216, 12.4684, 11.8450)
Luminance0.1246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E5E #2EB484
analogous
#B42EA1 #B42E5E #B4412E
triadic
#B42E5E #5EB42E #2E5EB4
tetradic
#B42E5E #A1B42E #2EB484 #412EB4
square
#B42E5E #A1B42E #2EB484 #412EB4
split-complementary
#B42E5E #2EB441 #2EA1B4
monochromatic
#53152B #832245 #B42E5E #D24E7D #DE7EA1

Accessibility & contrast

On white

6.01
#B42E5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42E5E
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E5E#FFFFFF#000000##FFFFFF
##B42E5E1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E525F
Deuteranopia (green-blind)
#716D5B
Tritanopia (blue-blind)
#C41242
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b42e5e;
/* rgb */ color: rgb(180, 46, 94);
/* oklch */ color: oklch(52.2% 0.173 4.0);
Tailwind
colors: {
  custom: {
    50: '#d0728b',
    500: '#b42e5e',
    950: '#000000',
  },
}
SCSS
$custom: #b42e5e;
$custom-light: #d0728b;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e5e",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 94
  },
  "hsl": {
    "h": 338.507,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52207,
    "c": 0.17294,
    "h": 4
  },
  "luminance": 0.12465
}

Semantic roles & 50–950 ramp

primary
#B42E5E
secondary
#77C7AA
accent
#E2AA45
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B42E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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