#B31C45#B31C45

#B31C45 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.183 H 12.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#B31C45
RGBrgb(179, 28, 69)
HSLhsl(344, 73%, 41%)
HSVhsv(344, 84%, 70%)
CMYKcmyk(0%, 84.4%, 61.5%, 29.8%)
CIE-LABlab(39.32, 59.35, 16.56)
CIE-LCHlch(39.32, 61.61, 15.59°)
OKLaboklab(50.04% 0.1789 0.0406)
OKLCHoklch(50.04% 0.183 12.8)
XYZxyz(20.0820, 10.8470, 6.6653)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C45 #1CB38A
analogous
#B31C90 #B31C45 #B33F1C
triadic
#B31C45 #45B31C #1C45B3
tetradic
#B31C45 #90B31C #1CB38A #3F1CB3
square
#B31C45 #90B31C #1CB38A #3F1CB3
split-complementary
#B31C45 #1CB33F #1C90B3
monochromatic
#490B1C #7E1431 #B31C45 #DE2E5E #E76387

Accessibility & contrast

On white

6.63
#B31C45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31C45
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C45#FFFFFF#000000##FFFFFF
##B31C451.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4945
Deuteranopia (green-blind)
#706741
Tritanopia (blue-blind)
#C4002F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31c45;
/* rgb */ color: rgb(179, 28, 69);
/* oklch */ color: oklch(50.0% 0.183 12.8);
Tailwind
colors: {
  custom: {
    50: '#d16b78',
    500: '#b31c45',
    950: '#000000',
  },
}
SCSS
$custom: #b31c45;
$custom-light: #d16b78;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c45",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 69
  },
  "hsl": {
    "h": 343.709,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50035,
    "c": 0.1834,
    "h": 12.8
  },
  "luminance": 0.10844
}

Semantic roles & 50–950 ramp

primary
#B31C45
secondary
#5FCBAE
accent
#F0BE38
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #B31C45

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

Preview Lab → · Contrast checker → · Palette generator →

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