#B31C4A#B31C4A

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

Color values

HEX#B31C4A
RGBrgb(179, 28, 74)
HSLhsl(342, 73%, 41%)
HSVhsv(342, 84%, 70%)
CMYKcmyk(0%, 84.4%, 58.7%, 29.8%)
CIE-LABlab(39.43, 59.67, 13.52)
CIE-LCHlch(39.43, 61.18, 12.77°)
OKLaboklab(50.15% 0.1808 0.0337)
OKLCHoklch(50.15% 0.184 10.6)
XYZxyz(20.2438, 10.9117, 7.5175)
Luminance0.1091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C4A #1CB385
analogous
#B31C95 #B31C4A #B3391C
triadic
#B31C4A #4AB31C #1C4AB3
tetradic
#B31C4A #95B31C #1CB385 #391CB3
square
#B31C4A #95B31C #1CB385 #391CB3
split-complementary
#B31C4A #1CB339 #1C95B3
monochromatic
#490B1E #7E1434 #B31C4A #DE2E64 #E7638B

Accessibility & contrast

On white

6.60
#B31C4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#B31C4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31C4A
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C4A#FFFFFF#000000##FFFFFF
##B31C4A1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49494B
Deuteranopia (green-blind)
#6F6846
Tritanopia (blue-blind)
#C40031
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31c4a;
/* rgb */ color: rgb(179, 28, 74);
/* oklch */ color: oklch(50.2% 0.184 10.6);
Tailwind
colors: {
  custom: {
    50: '#d16b7c',
    500: '#b31c4a',
    950: '#000000',
  },
}
SCSS
$custom: #b31c4a;
$custom-light: #d16b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c4a",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 74
  },
  "hsl": {
    "h": 341.722,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50152,
    "c": 0.18393,
    "h": 10.6
  },
  "luminance": 0.10909
}

Semantic roles & 50–950 ramp

primary
#B31C4A
secondary
#5FCBAA
accent
#F0B838
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#150809
muted
#837A7B

Preview Lab

Preview with #B31C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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