#B31C52#B31C52

#B31C52 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.4% C 0.185 H 6.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#B31C52
RGBrgb(179, 28, 82)
HSLhsl(339, 73%, 41%)
HSVhsv(339, 84%, 70%)
CMYKcmyk(0%, 84.4%, 54.2%, 29.8%)
CIE-LABlab(39.62, 60.24, 8.69)
CIE-LCHlch(39.62, 60.86, 8.21°)
OKLaboklab(50.36% 0.1839 0.0223)
OKLCHoklch(50.36% 0.185 6.9)
XYZxyz(20.5306, 11.0264, 9.0283)
Luminance0.1102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C52 #1CB37D
analogous
#B31C9D #B31C52 #B3311C
triadic
#B31C52 #52B31C #1C52B3
tetradic
#B31C52 #9DB31C #1CB37D #311CB3
square
#B31C52 #9DB31C #1CB37D #311CB3
split-complementary
#B31C52 #1CB331 #1C9DB3
monochromatic
#490B22 #7E143A #B31C52 #DE2E6D #E76392

Accessibility & contrast

On white

6.55
#B31C52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#B31C52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31C52
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C52#FFFFFF#000000##FFFFFF
##B31C521.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474A53
Deuteranopia (green-blind)
#6E684E
Tritanopia (blue-blind)
#C40035
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31c52;
/* rgb */ color: rgb(179, 28, 82);
/* oklch */ color: oklch(50.4% 0.185 6.9);
Tailwind
colors: {
  custom: {
    50: '#d16b82',
    500: '#b31c52',
    950: '#000000',
  },
}
SCSS
$custom: #b31c52;
$custom-light: #d16b82;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c52",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 82
  },
  "hsl": {
    "h": 338.543,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50357,
    "c": 0.18523,
    "h": 6.9
  },
  "luminance": 0.11023
}

Semantic roles & 50–950 ramp

primary
#B31C52
secondary
#5FCBA5
accent
#F0AE38
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#15080A
muted
#837A7C

Preview Lab

Preview with #B31C52

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

Preview Lab → · Contrast checker → · Palette generator →

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