#B42E5B#B42E5B

#B42E5B is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.1% C 0.172 H 5.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B42E5B
RGBrgb(180, 46, 91)
HSLhsl(340, 59%, 44%)
HSVhsv(340, 74%, 71%)
CMYKcmyk(0%, 74.4%, 49.4%, 29.4%)
CIE-LABlab(41.87, 56.11, 6.21)
CIE-LCHlch(41.87, 56.45, 6.31°)
OKLaboklab(52.12% 0.1714 0.0163)
OKLCHoklch(52.12% 0.172 5.4)
XYZxyz(21.6896, 12.4156, 11.1498)
Luminance0.1241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E5B #2EB487
analogous
#B42E9E #B42E5B #B4442E
triadic
#B42E5B #5BB42E #2E5BB4
tetradic
#B42E5B #9EB42E #2EB487 #442EB4
square
#B42E5B #9EB42E #2EB487 #442EB4
split-complementary
#B42E5B #2EB444 #2E9EB4
monochromatic
#53152A #832242 #B42E5B #D24E7A #DE7E9E

Accessibility & contrast

On white

6.03
#B42E5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B42E5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E5B
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E5B#FFFFFF#000000##FFFFFF
##B42E5B1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E525C
Deuteranopia (green-blind)
#726C58
Tritanopia (blue-blind)
#C41041
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b42e5b;
/* rgb */ color: rgb(180, 46, 91);
/* oklch */ color: oklch(52.1% 0.172 5.4);
Tailwind
colors: {
  custom: {
    50: '#d07289',
    500: '#b42e5b',
    950: '#000000',
  },
}
SCSS
$custom: #b42e5b;
$custom-light: #d07289;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e5b",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 91
  },
  "hsl": {
    "h": 339.851,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5212,
    "c": 0.17221,
    "h": 5.4
  },
  "luminance": 0.12413
}

Semantic roles & 50–950 ramp

primary
#B42E5B
secondary
#77C7AC
accent
#E2AE45
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B42E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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