#B42558#B42558

#B42558 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.180 H 5.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B42558
RGBrgb(180, 37, 88)
HSLhsl(339, 66%, 43%)
HSVhsv(339, 79%, 71%)
CMYKcmyk(0%, 79.4%, 51.1%, 29.4%)
CIE-LABlab(40.79, 58.67, 6.56)
CIE-LCHlch(40.79, 59.03, 6.38°)
OKLaboklab(51.3% 0.1794 0.0172)
OKLCHoklch(51.3% 0.18 5.5)
XYZxyz(21.2473, 11.7340, 10.3767)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42558 #25B481
analogous
#B425A0 #B42558 #B43925
triadic
#B42558 #58B425 #2558B4
tetradic
#B42558 #A0B425 #25B481 #3925B4
square
#B42558 #A0B425 #25B481 #3925B4
split-complementary
#B42558 #25B439 #25A0B4
monochromatic
#4E1026 #811B3F #B42558 #D73F75 #E2719A

Accessibility & contrast

On white

6.28
#B42558 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B42558 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42558
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42558#FFFFFF#000000##FFFFFF
##B425581.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4E59
Deuteranopia (green-blind)
#706A55
Tritanopia (blue-blind)
#C4003C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42558;
/* rgb */ color: rgb(180, 37, 88);
/* oklch */ color: oklch(51.3% 0.180 5.5);
Tailwind
colors: {
  custom: {
    50: '#d16f86',
    500: '#b42558',
    950: '#000000',
  },
}
SCSS
$custom: #b42558;
$custom-light: #d16f86;
$custom-dark: #000000;
JSON
{
  "hex": "#b42558",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 88
  },
  "hsl": {
    "h": 338.601,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51299,
    "c": 0.18021,
    "h": 5.5
  },
  "luminance": 0.11731
}

Semantic roles & 50–950 ramp

primary
#B42558
secondary
#6CC9A8
accent
#E9AC3F
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B42558

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

Preview Lab → · Contrast checker → · Palette generator →

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