#B31C48#B31C48

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

Color values

HEX#B31C48
RGBrgb(179, 28, 72)
HSLhsl(343, 73%, 41%)
HSVhsv(343, 84%, 70%)
CMYKcmyk(0%, 84.4%, 59.8%, 29.8%)
CIE-LABlab(39.39, 59.54, 14.74)
CIE-LCHlch(39.39, 61.33, 13.90°)
OKLaboklab(50.1% 0.18 0.0365)
OKLCHoklch(50.1% 0.184 11.5)
XYZxyz(20.1775, 10.8852, 7.1682)
Luminance0.1088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C48 #1CB387
analogous
#B31C93 #B31C48 #B33C1C
triadic
#B31C48 #48B31C #1C48B3
tetradic
#B31C48 #93B31C #1CB387 #3C1CB3
square
#B31C48 #93B31C #1CB387 #3C1CB3
split-complementary
#B31C48 #1CB33C #1C93B3
monochromatic
#490B1D #7E1433 #B31C48 #DE2E61 #E76389

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31C48#FFFFFF#000000##FFFFFF
##B31C481.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)
#4A4949
Deuteranopia (green-blind)
#706844
Tritanopia (blue-blind)
#C40030
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31c48;
/* rgb */ color: rgb(179, 28, 72);
/* oklch */ color: oklch(50.1% 0.184 11.5);
Tailwind
colors: {
  custom: {
    50: '#d16b7a',
    500: '#b31c48',
    950: '#000000',
  },
}
SCSS
$custom: #b31c48;
$custom-light: #d16b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c48",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 72
  },
  "hsl": {
    "h": 342.517,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50104,
    "c": 0.18369,
    "h": 11.5
  },
  "luminance": 0.10882
}

Semantic roles & 50–950 ramp

primary
#B31C48
secondary
#5FCBAC
accent
#F0BA38
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B

Preview Lab

Preview with #B31C48

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

Preview Lab → · Contrast checker → · Palette generator →

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