#B42756#B42756

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

Color values

HEX#B42756
RGBrgb(180, 39, 86)
HSLhsl(340, 64%, 43%)
HSVhsv(340, 78%, 71%)
CMYKcmyk(0%, 78.3%, 52.2%, 29.4%)
CIE-LABlab(40.94, 57.92, 8.04)
CIE-LCHlch(40.94, 58.48, 7.90°)
OKLaboklab(51.39% 0.1768 0.0208)
OKLCHoklch(51.39% 0.178 6.7)
XYZxyz(21.2296, 11.8292, 9.9677)
Luminance0.1183 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42756 #27B485
analogous
#B4279C #B42756 #B43E27
triadic
#B42756 #56B427 #2756B4
tetradic
#B42756 #9CB427 #27B485 #3E27B4
square
#B42756 #9CB427 #27B485 #3E27B4
split-complementary
#B42756 #27B43E #279CB4
monochromatic
#4F1126 #821C3E #B42756 #D64273 #E17499

Accessibility & contrast

On white

6.24
#B42756 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42756
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42756#FFFFFF#000000##FFFFFF
##B427561.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4F57
Deuteranopia (green-blind)
#716B53
Tritanopia (blue-blind)
#C4003C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b42756;
/* rgb */ color: rgb(180, 39, 86);
/* oklch */ color: oklch(51.4% 0.178 6.7);
Tailwind
colors: {
  custom: {
    50: '#d16f85',
    500: '#b42756',
    950: '#000000',
  },
}
SCSS
$custom: #b42756;
$custom-light: #d16f85;
$custom-dark: #000000;
JSON
{
  "hex": "#b42756",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 86
  },
  "hsl": {
    "h": 340,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51394,
    "c": 0.17799,
    "h": 6.7
  },
  "luminance": 0.11826
}

Semantic roles & 50–950 ramp

primary
#B42756
secondary
#6FC8AA
accent
#E7B040
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B42756

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

Preview Lab → · Contrast checker → · Palette generator →

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