#B31C46#B31C46

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

Color values

HEX#B31C46
RGBrgb(179, 28, 70)
HSLhsl(343, 73%, 41%)
HSVhsv(343, 84%, 70%)
CMYKcmyk(0%, 84.4%, 60.9%, 29.8%)
CIE-LABlab(39.34, 59.41, 15.95)
CIE-LCHlch(39.34, 61.51, 15.03°)
OKLaboklab(50.06% 0.1793 0.0393)
OKLCHoklch(50.06% 0.184 12.4)
XYZxyz(20.1133, 10.8595, 6.8302)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C46 #1CB389
analogous
#B31C91 #B31C46 #B33D1C
triadic
#B31C46 #46B31C #1C46B3
tetradic
#B31C46 #91B31C #1CB389 #3D1CB3
square
#B31C46 #91B31C #1CB389 #3D1CB3
split-complementary
#B31C46 #1CB33D #1C91B3
monochromatic
#490B1D #7E1431 #B31C46 #DE2E5F #E76387

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31C46#FFFFFF#000000##FFFFFF
##B31C461.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)
#4A4946
Deuteranopia (green-blind)
#706742
Tritanopia (blue-blind)
#C4002F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31c46;
/* rgb */ color: rgb(179, 28, 70);
/* oklch */ color: oklch(50.1% 0.183 12.4);
Tailwind
colors: {
  custom: {
    50: '#d16b79',
    500: '#b31c46',
    950: '#000000',
  },
}
SCSS
$custom: #b31c46;
$custom-light: #d16b79;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c46",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 70
  },
  "hsl": {
    "h": 343.311,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50058,
    "c": 0.1835,
    "h": 12.4
  },
  "luminance": 0.10856
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B31C46

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

Preview Lab → · Contrast checker → · Palette generator →

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