#B31C4D#B31C4D

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

Color values

HEX#B31C4D
RGBrgb(179, 28, 77)
HSLhsl(341, 73%, 41%)
HSVhsv(341, 84%, 70%)
CMYKcmyk(0%, 84.4%, 57%, 29.8%)
CIE-LABlab(39.50, 59.88, 11.71)
CIE-LCHlch(39.50, 61.01, 11.06°)
OKLaboklab(50.23% 0.182 0.0295)
OKLCHoklch(50.23% 0.184 9.2)
XYZxyz(20.3473, 10.9531, 8.0625)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C4D #1CB382
analogous
#B31C98 #B31C4D #B3371C
triadic
#B31C4D #4DB31C #1C4DB3
tetradic
#B31C4D #98B31C #1CB382 #371CB3
square
#B31C4D #98B31C #1CB382 #371CB3
split-complementary
#B31C4D #1CB337 #1C98B3
monochromatic
#490B1F #7E1436 #B31C4D #DE2E67 #E7638E

Accessibility & contrast

On white

6.58
#B31C4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31C4D
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C4D#FFFFFF#000000##FFFFFF
##B31C4D1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484A4E
Deuteranopia (green-blind)
#6F6849
Tritanopia (blue-blind)
#C40033
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31c4d;
/* rgb */ color: rgb(179, 28, 77);
/* oklch */ color: oklch(50.2% 0.184 9.2);
Tailwind
colors: {
  custom: {
    50: '#d16b7e',
    500: '#b31c4d',
    950: '#000000',
  },
}
SCSS
$custom: #b31c4d;
$custom-light: #d16b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c4d",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 77
  },
  "hsl": {
    "h": 340.53,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50226,
    "c": 0.18436,
    "h": 9.2
  },
  "luminance": 0.1095
}

Semantic roles & 50–950 ramp

primary
#B31C4D
secondary
#5FCBA8
accent
#F0B438
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#150809
muted
#837A7B

Preview Lab

Preview with #B31C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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