#B42957#B42957

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

Color values

HEX#B42957
RGBrgb(180, 41, 87)
HSLhsl(340, 63%, 43%)
HSVhsv(340, 77%, 71%)
CMYKcmyk(0%, 77.2%, 51.7%, 29.4%)
CIE-LABlab(41.18, 57.40, 7.75)
CIE-LCHlch(41.18, 57.92, 7.69°)
OKLaboklab(51.58% 0.1752 0.0201)
OKLCHoklch(51.58% 0.176 6.6)
XYZxyz(21.3376, 11.9803, 10.2038)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42957 #29B486
analogous
#B4299C #B42957 #B44029
triadic
#B42957 #57B429 #2957B4
tetradic
#B42957 #9CB429 #29B486 #4029B4
square
#B42957 #9CB429 #29B486 #4029B4
split-complementary
#B42957 #29B440 #299CB4
monochromatic
#501227 #821E3F #B42957 #D54575 #E0779A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42957#FFFFFF#000000##FFFFFF
##B429571.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)
#4D4F58
Deuteranopia (green-blind)
#716B54
Tritanopia (blue-blind)
#C4003D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b42957;
/* rgb */ color: rgb(180, 41, 87);
/* oklch */ color: oklch(51.6% 0.176 6.6);
Tailwind
colors: {
  custom: {
    50: '#d17086',
    500: '#b42957',
    950: '#000000',
  },
}
SCSS
$custom: #b42957;
$custom-light: #d17086;
$custom-dark: #000000;
JSON
{
  "hex": "#b42957",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 87
  },
  "hsl": {
    "h": 340.144,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51581,
    "c": 0.17633,
    "h": 6.6
  },
  "luminance": 0.11977
}

Semantic roles & 50–950 ramp

primary
#B42957
secondary
#71C8AB
accent
#E6B042
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B42957

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

Preview Lab → · Contrast checker → · Palette generator →

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