#B31C54#B31C54

#B31C54 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.186 H 6.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#B31C54
RGBrgb(179, 28, 84)
HSLhsl(338, 73%, 41%)
HSVhsv(338, 84%, 70%)
CMYKcmyk(0%, 84.4%, 53.1%, 29.8%)
CIE-LABlab(39.68, 60.39, 7.49)
CIE-LCHlch(39.68, 60.85, 7.07°)
OKLaboklab(50.41% 0.1846 0.0194)
OKLCHoklch(50.41% 0.186 6)
XYZxyz(20.6079, 11.0573, 9.4349)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C54 #1CB37B
analogous
#B31CA0 #B31C54 #B32F1C
triadic
#B31C54 #54B31C #1C54B3
tetradic
#B31C54 #A0B31C #1CB37B #2F1CB3
square
#B31C54 #A0B31C #1CB37B #2F1CB3
split-complementary
#B31C54 #1CB32F #1CA0B3
monochromatic
#490B22 #7E143B #B31C54 #DE2E6F #E76394

Accessibility & contrast

On white

6.54
#B31C54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#B31C54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31C54
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C54#FFFFFF#000000##FFFFFF
##B31C541.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474B55
Deuteranopia (green-blind)
#6E6850
Tritanopia (blue-blind)
#C40036
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31c54;
/* rgb */ color: rgb(179, 28, 84);
/* oklch */ color: oklch(50.4% 0.186 6.0);
Tailwind
colors: {
  custom: {
    50: '#d06b83',
    500: '#b31c54',
    950: '#000000',
  },
}
SCSS
$custom: #b31c54;
$custom-light: #d06b83;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c54",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 84
  },
  "hsl": {
    "h": 337.748,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50412,
    "c": 0.18564,
    "h": 6
  },
  "luminance": 0.11054
}

Semantic roles & 50–950 ramp

primary
#B31C54
secondary
#5FCBA3
accent
#F0AC38
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080A
muted
#837A7C

Preview Lab

Preview with #B31C54

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

Preview Lab → · Contrast checker → · Palette generator →

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