#B31C6D#B31C6D

#B31C6D is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.2% C 0.194 H 354.6°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#B31C6D
RGBrgb(179, 28, 109)
HSLhsl(328, 73%, 41%)
HSVhsv(328, 84%, 70%)
CMYKcmyk(0%, 84.4%, 39.1%, 29.8%)
CIE-LABlab(40.44, 62.61, -7.21)
CIE-LCHlch(40.44, 63.03, 353.44°)
OKLaboklab(51.22% 0.1928 -0.0182)
OKLCHoklch(51.22% 0.194 354.6)
XYZxyz(21.7675, 11.5212, 15.5426)
Luminance0.1152 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C6D #1CB362
analogous
#AE1CB3 #B31C6D #B31C21
triadic
#B31C6D #6DB31C #1C6DB3
tetradic
#B31C6D #B3AE1C #1CB362 #1C21B3
square
#B31C6D #B3AE1C #1CB362 #1C21B3
split-complementary
#B31C6D #21B31C #1CB3AE
monochromatic
#490B2D #7E144D #B31C6D #DE2E8D #E763A9

Accessibility & contrast

On white

6.36
#B31C6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#B31C6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31C6D
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C6D#FFFFFF#000000##FFFFFF
##B31C6D1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4E6F
Deuteranopia (green-blind)
#69696A
Tritanopia (blue-blind)
#C20043
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b31c6d;
/* rgb */ color: rgb(179, 28, 109);
/* oklch */ color: oklch(51.2% 0.194 354.6);
Tailwind
colors: {
  custom: {
    50: '#cf6c96',
    500: '#b31c6d',
    950: '#000000',
  },
}
SCSS
$custom: #b31c6d;
$custom-light: #cf6c96;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c6d",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 109
  },
  "hsl": {
    "h": 327.815,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51223,
    "c": 0.1937,
    "h": 354.6
  },
  "luminance": 0.11518
}

Semantic roles & 50–950 ramp

primary
#B31C6D
secondary
#5FCB91
accent
#F08D38
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B31C6D

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

Preview Lab → · Contrast checker → · Palette generator →

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