#B31C6C#B31C6C

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

Color values

HEX#B31C6C
RGBrgb(179, 28, 108)
HSLhsl(328, 73%, 41%)
HSVhsv(328, 84%, 70%)
CMYKcmyk(0%, 84.4%, 39.7%, 29.8%)
CIE-LABlab(40.41, 62.51, -6.63)
CIE-LCHlch(40.41, 62.86, 353.95°)
OKLaboklab(51.19% 0.1926 -0.0167)
OKLCHoklch(51.19% 0.193 355)
XYZxyz(21.7140, 11.4998, 15.2607)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C6C #1CB363
analogous
#AE1CB3 #B31C6C #B31C20
triadic
#B31C6C #6CB31C #1C6CB3
tetradic
#B31C6C #B3AE1C #1CB363 #1C20B3
square
#B31C6C #B3AE1C #1CB363 #1C20B3
split-complementary
#B31C6C #20B31C #1CB3AE
monochromatic
#490B2C #7E144C #B31C6C #DE2E8B #E763A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31C6C#FFFFFF#000000##FFFFFF
##B31C6C1.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)
#3F4E6E
Deuteranopia (green-blind)
#696969
Tritanopia (blue-blind)
#C20043
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b31c6c;
/* rgb */ color: rgb(179, 28, 108);
/* oklch */ color: oklch(51.2% 0.193 355.0);
Tailwind
colors: {
  custom: {
    50: '#cf6c96',
    500: '#b31c6c',
    950: '#000000',
  },
}
SCSS
$custom: #b31c6c;
$custom-light: #cf6c96;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c6c",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 108
  },
  "hsl": {
    "h": 328.212,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51186,
    "c": 0.19328,
    "h": 355
  },
  "luminance": 0.11497
}

Semantic roles & 50–950 ramp

primary
#B31C6C
secondary
#5FCB92
accent
#F08E38
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B31C6C

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

Preview Lab → · Contrast checker → · Palette generator →

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