#B31C4C#B31C4C

#B31C4C is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.184 H 9.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#B31C4C
RGBrgb(179, 28, 76)
HSLhsl(341, 73%, 41%)
HSVhsv(341, 84%, 70%)
CMYKcmyk(0%, 84.4%, 57.5%, 29.8%)
CIE-LABlab(39.48, 59.81, 12.31)
CIE-LCHlch(39.48, 61.06, 11.63°)
OKLaboklab(50.2% 0.1816 0.0309)
OKLCHoklch(50.2% 0.184 9.7)
XYZxyz(20.3122, 10.9391, 7.8780)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C4C #1CB383
analogous
#B31C97 #B31C4C #B3371C
triadic
#B31C4C #4CB31C #1C4CB3
tetradic
#B31C4C #97B31C #1CB383 #371CB3
square
#B31C4C #97B31C #1CB383 #371CB3
split-complementary
#B31C4C #1CB337 #1C97B3
monochromatic
#490B1F #7E1436 #B31C4C #DE2E66 #E7638D

Accessibility & contrast

On white

6.59
#B31C4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#B31C4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31C4C
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C4C#FFFFFF#000000##FFFFFF
##B31C4C1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494A4D
Deuteranopia (green-blind)
#6F6848
Tritanopia (blue-blind)
#C40032
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31c4c;
/* rgb */ color: rgb(179, 28, 76);
/* oklch */ color: oklch(50.2% 0.184 9.7);
Tailwind
colors: {
  custom: {
    50: '#d16b7d',
    500: '#b31c4c',
    950: '#000000',
  },
}
SCSS
$custom: #b31c4c;
$custom-light: #d16b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c4c",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 76
  },
  "hsl": {
    "h": 340.927,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50201,
    "c": 0.18421,
    "h": 9.7
  },
  "luminance": 0.10936
}

Semantic roles & 50–950 ramp

primary
#B31C4C
secondary
#5FCBA9
accent
#F0B538
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#150809
muted
#837A7B

Preview Lab

Preview with #B31C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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