#B42955#B42955

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

Color values

HEX#B42955
RGBrgb(180, 41, 85)
HSLhsl(341, 63%, 43%)
HSVhsv(341, 77%, 71%)
CMYKcmyk(0%, 77.2%, 52.8%, 29.4%)
CIE-LABlab(41.13, 57.23, 8.94)
CIE-LCHlch(41.13, 57.93, 8.88°)
OKLaboklab(51.53% 0.1744 0.023)
OKLCHoklch(51.53% 0.176 7.5)
XYZxyz(21.2570, 11.9480, 9.7794)
Luminance0.1195 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42955 #29B488
analogous
#B4299A #B42955 #B44229
triadic
#B42955 #55B429 #2955B4
tetradic
#B42955 #9AB429 #29B488 #4229B4
square
#B42955 #9AB429 #29B488 #4229B4
split-complementary
#B42955 #29B442 #299AB4
monochromatic
#501226 #821E3D #B42955 #D54573 #E07798

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42955#FFFFFF#000000##FFFFFF
##B429551.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)
#4D4F56
Deuteranopia (green-blind)
#716B52
Tritanopia (blue-blind)
#C4003C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b42955;
/* rgb */ color: rgb(180, 41, 85);
/* oklch */ color: oklch(51.5% 0.176 7.5);
Tailwind
colors: {
  custom: {
    50: '#d17084',
    500: '#b42955',
    950: '#000000',
  },
}
SCSS
$custom: #b42955;
$custom-light: #d17084;
$custom-dark: #000000;
JSON
{
  "hex": "#b42955",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 85
  },
  "hsl": {
    "h": 341.007,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51526,
    "c": 0.17594,
    "h": 7.5
  },
  "luminance": 0.11945
}

Semantic roles & 50–950 ramp

primary
#B42955
secondary
#71C8AC
accent
#E6B242
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B42955

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

Preview Lab → · Contrast checker → · Palette generator →

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