#B42958#B42958

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

Color values

HEX#B42958
RGBrgb(180, 41, 88)
HSLhsl(340, 63%, 43%)
HSVhsv(340, 77%, 71%)
CMYKcmyk(0%, 77.2%, 51.1%, 29.4%)
CIE-LABlab(41.21, 57.48, 7.16)
CIE-LCHlch(41.21, 57.92, 7.10°)
OKLaboklab(51.61% 0.1756 0.0187)
OKLCHoklch(51.61% 0.177 6.1)
XYZxyz(21.3787, 11.9967, 10.4205)
Luminance0.1199 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42958 #29B485
analogous
#B4299D #B42958 #B43F29
triadic
#B42958 #58B429 #2958B4
tetradic
#B42958 #9DB429 #29B485 #3F29B4
square
#B42958 #9DB429 #29B485 #3F29B4
split-complementary
#B42958 #29B43F #299DB4
monochromatic
#501227 #821E40 #B42958 #D54576 #E0779B

Accessibility & contrast

On white

6.18
#B42958 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42958
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42958#FFFFFF#000000##FFFFFF
##B429581.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42958;
/* rgb */ color: rgb(180, 41, 88);
/* oklch */ color: oklch(51.6% 0.177 6.1);
Tailwind
colors: {
  custom: {
    50: '#d17086',
    500: '#b42958',
    950: '#000000',
  },
}
SCSS
$custom: #b42958;
$custom-light: #d17086;
$custom-dark: #000000;
JSON
{
  "hex": "#b42958",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 88
  },
  "hsl": {
    "h": 339.712,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51608,
    "c": 0.17654,
    "h": 6.1
  },
  "luminance": 0.11994
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B42958

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

Preview Lab → · Contrast checker → · Palette generator →

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