#B42959#B42959

#B42959 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.177 H 5.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#B42959
RGBrgb(180, 41, 89)
HSLhsl(339, 63%, 43%)
HSVhsv(339, 77%, 71%)
CMYKcmyk(0%, 77.2%, 50.6%, 29.4%)
CIE-LABlab(41.24, 57.56, 6.56)
CIE-LCHlch(41.24, 57.94, 6.51°)
OKLaboklab(51.64% 0.1759 0.0172)
OKLCHoklch(51.64% 0.177 5.6)
XYZxyz(21.4204, 12.0134, 10.6401)
Luminance0.1201 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42959 #29B484
analogous
#B4299E #B42959 #B43F29
triadic
#B42959 #59B429 #2959B4
tetradic
#B42959 #9EB429 #29B484 #3F29B4
square
#B42959 #9EB429 #29B484 #3F29B4
split-complementary
#B42959 #29B43F #299EB4
monochromatic
#501228 #821E40 #B42959 #D54577 #E0779B

Accessibility & contrast

On white

6.17
#B42959 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#B42959 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42959
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42959#FFFFFF#000000##FFFFFF
##B429591.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C505A
Deuteranopia (green-blind)
#716B56
Tritanopia (blue-blind)
#C4003E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b42959;
/* rgb */ color: rgb(180, 41, 89);
/* oklch */ color: oklch(51.6% 0.177 5.6);
Tailwind
colors: {
  custom: {
    50: '#d17087',
    500: '#b42959',
    950: '#000000',
  },
}
SCSS
$custom: #b42959;
$custom-light: #d17087;
$custom-dark: #000000;
JSON
{
  "hex": "#b42959",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 89
  },
  "hsl": {
    "h": 339.281,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51636,
    "c": 0.17676,
    "h": 5.6
  },
  "luminance": 0.1201
}

Semantic roles & 50–950 ramp

primary
#B42959
secondary
#71C8AA
accent
#E6AD42
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B42959

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

Preview Lab → · Contrast checker → · Palette generator →

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