#B31C4B#B31C4B

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

Color values

HEX#B31C4B
RGBrgb(179, 28, 75)
HSLhsl(341, 73%, 41%)
HSVhsv(341, 84%, 70%)
CMYKcmyk(0%, 84.4%, 58.1%, 29.8%)
CIE-LABlab(39.45, 59.74, 12.92)
CIE-LCHlch(39.45, 61.12, 12.20°)
OKLaboklab(50.18% 0.1812 0.0323)
OKLCHoklch(50.18% 0.184 10.1)
XYZxyz(20.2777, 10.9253, 7.6963)
Luminance0.1092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C4B #1CB384
analogous
#B31C96 #B31C4B #B3391C
triadic
#B31C4B #4BB31C #1C4BB3
tetradic
#B31C4B #96B31C #1CB384 #391CB3
square
#B31C4B #96B31C #1CB384 #391CB3
split-complementary
#B31C4B #1CB339 #1C96B3
monochromatic
#490B1F #7E1435 #B31C4B #DE2E65 #E7638C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31C4B#FFFFFF#000000##FFFFFF
##B31C4B1.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31c4b;
/* rgb */ color: rgb(179, 28, 75);
/* oklch */ color: oklch(50.2% 0.184 10.1);
Tailwind
colors: {
  custom: {
    50: '#d16b7c',
    500: '#b31c4b',
    950: '#000000',
  },
}
SCSS
$custom: #b31c4b;
$custom-light: #d16b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c4b",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 75
  },
  "hsl": {
    "h": 341.325,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50176,
    "c": 0.18406,
    "h": 10.1
  },
  "luminance": 0.10922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B31C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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