#B31C49#B31C49

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

Color values

HEX#B31C49
RGBrgb(179, 28, 73)
HSLhsl(342, 73%, 41%)
HSVhsv(342, 84%, 70%)
CMYKcmyk(0%, 84.4%, 59.2%, 29.8%)
CIE-LABlab(39.41, 59.60, 14.13)
CIE-LCHlch(39.41, 61.26, 13.34°)
OKLaboklab(50.13% 0.1804 0.0351)
OKLCHoklch(50.13% 0.184 11)
XYZxyz(20.2104, 10.8983, 7.3414)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C49 #1CB386
analogous
#B31C94 #B31C49 #B33A1C
triadic
#B31C49 #49B31C #1C49B3
tetradic
#B31C49 #94B31C #1CB386 #3A1CB3
square
#B31C49 #94B31C #1CB386 #3A1CB3
split-complementary
#B31C49 #1CB33A #1C94B3
monochromatic
#490B1E #7E1433 #B31C49 #DE2E62 #E7638A

Accessibility & contrast

On white

6.61
#B31C49 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31C49
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C49#FFFFFF#000000##FFFFFF
##B31C491.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31c49;
/* rgb */ color: rgb(179, 28, 73);
/* oklch */ color: oklch(50.1% 0.184 11.0);
Tailwind
colors: {
  custom: {
    50: '#d16b7b',
    500: '#b31c49',
    950: '#000000',
  },
}
SCSS
$custom: #b31c49;
$custom-light: #d16b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c49",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 73
  },
  "hsl": {
    "h": 342.119,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50128,
    "c": 0.18381,
    "h": 11
  },
  "luminance": 0.10895
}

Semantic roles & 50–950 ramp

primary
#B31C49
secondary
#5FCBAB
accent
#F0B938
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B

Preview Lab

Preview with #B31C49

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

Preview Lab → · Contrast checker → · Palette generator →

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