#B42858#B42858

#B42858 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.177 H 5.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#B42858
RGBrgb(180, 40, 88)
HSLhsl(339, 64%, 43%)
HSVhsv(339, 78%, 71%)
CMYKcmyk(0%, 77.8%, 51.1%, 29.4%)
CIE-LABlab(41.10, 57.79, 7.00)
CIE-LCHlch(41.10, 58.21, 6.91°)
OKLaboklab(51.53% 0.1765 0.0183)
OKLCHoklch(51.53% 0.177 5.9)
XYZxyz(21.3445, 11.9284, 10.4091)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42858 #28B484
analogous
#B4289E #B42858 #B43E28
triadic
#B42858 #58B428 #2858B4
tetradic
#B42858 #9EB428 #28B484 #3E28B4
square
#B42858 #9EB428 #28B484 #3E28B4
split-complementary
#B42858 #28B43E #289EB4
monochromatic
#501227 #821D40 #B42858 #D54476 #E1769A

Accessibility & contrast

On white

6.20
#B42858 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#B42858 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42858
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42858#FFFFFF#000000##FFFFFF
##B428581.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4F59
Deuteranopia (green-blind)
#716B55
Tritanopia (blue-blind)
#C4003D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b42858;
/* rgb */ color: rgb(180, 40, 88);
/* oklch */ color: oklch(51.5% 0.177 5.9);
Tailwind
colors: {
  custom: {
    50: '#d17086',
    500: '#b42858',
    950: '#000000',
  },
}
SCSS
$custom: #b42858;
$custom-light: #d17086;
$custom-dark: #000000;
JSON
{
  "hex": "#b42858",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 88
  },
  "hsl": {
    "h": 339.429,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51528,
    "c": 0.17748,
    "h": 5.9
  },
  "luminance": 0.11925
}

Semantic roles & 50–950 ramp

primary
#B42858
secondary
#70C8AA
accent
#E7AE41
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B42858

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

Preview Lab → · Contrast checker → · Palette generator →

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