#B31C6B#B31C6B

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

Color values

HEX#B31C6B
RGBrgb(179, 28, 107)
HSLhsl(329, 73%, 41%)
HSVhsv(329, 84%, 70%)
CMYKcmyk(0%, 84.4%, 40.2%, 29.8%)
CIE-LABlab(40.38, 62.41, -6.05)
CIE-LCHlch(40.38, 62.71, 354.46°)
OKLaboklab(51.15% 0.1923 -0.0152)
OKLCHoklch(51.15% 0.193 355.5)
XYZxyz(21.6611, 11.4786, 14.9820)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C6B #1CB364
analogous
#AF1CB3 #B31C6B #B31C20
triadic
#B31C6B #6BB31C #1C6BB3
tetradic
#B31C6B #B3AF1C #1CB364 #1C20B3
square
#B31C6B #B3AF1C #1CB364 #1C20B3
split-complementary
#B31C6B #20B31C #1CB3AF
monochromatic
#490B2C #7E144B #B31C6B #DE2E8A #E763A8

Accessibility & contrast

On white

6.37
#B31C6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31C6B
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C6B#FFFFFF#000000##FFFFFF
##B31C6B1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404E6D
Deuteranopia (green-blind)
#696968
Tritanopia (blue-blind)
#C20042
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b31c6b;
/* rgb */ color: rgb(179, 28, 107);
/* oklch */ color: oklch(51.1% 0.193 355.5);
Tailwind
colors: {
  custom: {
    50: '#cf6c95',
    500: '#b31c6b',
    950: '#000000',
  },
}
SCSS
$custom: #b31c6b;
$custom-light: #cf6c95;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c6b",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 107
  },
  "hsl": {
    "h": 328.609,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5115,
    "c": 0.19287,
    "h": 355.5
  },
  "luminance": 0.11476
}

Semantic roles & 50–950 ramp

primary
#B31C6B
secondary
#5FCB93
accent
#F09038
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B31C6B

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

Preview Lab → · Contrast checker → · Palette generator →

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