#B31C47#B31C47

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

Color values

HEX#B31C47
RGBrgb(179, 28, 71)
HSLhsl(343, 73%, 41%)
HSVhsv(343, 84%, 70%)
CMYKcmyk(0%, 84.4%, 60.3%, 29.8%)
CIE-LABlab(39.36, 59.47, 15.34)
CIE-LCHlch(39.36, 61.42, 14.47°)
OKLaboklab(50.08% 0.1796 0.0379)
OKLCHoklch(50.08% 0.184 11.9)
XYZxyz(20.1451, 10.8722, 6.9978)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C47 #1CB388
analogous
#B31C92 #B31C47 #B33C1C
triadic
#B31C47 #47B31C #1C47B3
tetradic
#B31C47 #92B31C #1CB388 #3C1CB3
square
#B31C47 #92B31C #1CB388 #3C1CB3
split-complementary
#B31C47 #1CB33C #1C92B3
monochromatic
#490B1D #7E1432 #B31C47 #DE2E60 #E76388

Accessibility & contrast

On white

6.62
#B31C47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#B31C47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31C47
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C47#FFFFFF#000000##FFFFFF
##B31C471.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4948
Deuteranopia (green-blind)
#706843
Tritanopia (blue-blind)
#C40030
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31c47;
/* rgb */ color: rgb(179, 28, 71);
/* oklch */ color: oklch(50.1% 0.184 11.9);
Tailwind
colors: {
  custom: {
    50: '#d16b79',
    500: '#b31c47',
    950: '#000000',
  },
}
SCSS
$custom: #b31c47;
$custom-light: #d16b79;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c47",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 71
  },
  "hsl": {
    "h": 342.914,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50081,
    "c": 0.18359,
    "h": 11.9
  },
  "luminance": 0.10869
}

Semantic roles & 50–950 ramp

primary
#B31C47
secondary
#5FCBAD
accent
#F0BB38
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B

Preview Lab

Preview with #B31C47

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

Preview Lab → · Contrast checker → · Palette generator →

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