#B31C43#B31C43

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

Color values

HEX#B31C43
RGBrgb(179, 28, 67)
HSLhsl(345, 73%, 41%)
HSVhsv(345, 84%, 70%)
CMYKcmyk(0%, 84.4%, 62.6%, 29.8%)
CIE-LABlab(39.28, 59.22, 17.78)
CIE-LCHlch(39.28, 61.83, 16.71°)
OKLaboklab(49.99% 0.1781 0.0433)
OKLCHoklch(49.99% 0.183 13.7)
XYZxyz(20.0209, 10.8226, 6.3439)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C43 #1CB38C
analogous
#B31C8F #B31C43 #B3401C
triadic
#B31C43 #43B31C #1C43B3
tetradic
#B31C43 #8FB31C #1CB38C #401CB3
square
#B31C43 #8FB31C #1CB38C #401CB3
split-complementary
#B31C43 #1CB340 #1C8FB3
monochromatic
#490B1B #7E142F #B31C43 #DE2E5B #E76385

Accessibility & contrast

On white

6.64
#B31C43 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#B31C43 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31C43
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C43#FFFFFF#000000##FFFFFF
##B31C431.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4943
Deuteranopia (green-blind)
#70673F
Tritanopia (blue-blind)
#C4002E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31c43;
/* rgb */ color: rgb(179, 28, 67);
/* oklch */ color: oklch(50.0% 0.183 13.7);
Tailwind
colors: {
  custom: {
    50: '#d16b76',
    500: '#b31c43',
    950: '#000000',
  },
}
SCSS
$custom: #b31c43;
$custom-light: #d16b76;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c43",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 67
  },
  "hsl": {
    "h": 344.503,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49991,
    "c": 0.18325,
    "h": 13.7
  },
  "luminance": 0.10819
}

Semantic roles & 50–950 ramp

primary
#B31C43
secondary
#5FCBAF
accent
#F0C038
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #B31C43

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

Preview Lab → · Contrast checker → · Palette generator →

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