#B42758#B42758

#B42758 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.178 H 5.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B42758
RGBrgb(180, 39, 88)
HSLhsl(339, 64%, 43%)
HSVhsv(339, 78%, 71%)
CMYKcmyk(0%, 78.3%, 51.1%, 29.4%)
CIE-LABlab(41.00, 58.09, 6.85)
CIE-LCHlch(41.00, 58.49, 6.73°)
OKLaboklab(51.45% 0.1775 0.0179)
OKLCHoklch(51.45% 0.178 5.8)
XYZxyz(21.3113, 11.8619, 10.3980)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42758 #27B483
analogous
#B4279E #B42758 #B43C27
triadic
#B42758 #58B427 #2758B4
tetradic
#B42758 #9EB427 #27B483 #3C27B4
square
#B42758 #9EB427 #27B483 #3C27B4
split-complementary
#B42758 #27B43C #279EB4
monochromatic
#4F1127 #821C3F #B42758 #D64276 #E1749A

Accessibility & contrast

On white

6.23
#B42758 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B42758 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42758
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42758#FFFFFF#000000##FFFFFF
##B427581.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4F59
Deuteranopia (green-blind)
#706B55
Tritanopia (blue-blind)
#C4003C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b42758;
/* rgb */ color: rgb(180, 39, 88);
/* oklch */ color: oklch(51.4% 0.178 5.8);
Tailwind
colors: {
  custom: {
    50: '#d16f86',
    500: '#b42758',
    950: '#000000',
  },
}
SCSS
$custom: #b42758;
$custom-light: #d16f86;
$custom-dark: #000000;
JSON
{
  "hex": "#b42758",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 88
  },
  "hsl": {
    "h": 339.149,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5145,
    "c": 0.17841,
    "h": 5.8
  },
  "luminance": 0.11859
}

Semantic roles & 50–950 ramp

primary
#B42758
secondary
#6FC8A9
accent
#E7AD40
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B42758

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

Preview Lab → · Contrast checker → · Palette generator →

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