#B31C6A#B31C6A

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

Color values

HEX#B31C6A
RGBrgb(179, 28, 106)
HSLhsl(329, 73%, 41%)
HSVhsv(329, 84%, 70%)
CMYKcmyk(0%, 84.4%, 40.8%, 29.8%)
CIE-LABlab(40.34, 62.32, -5.48)
CIE-LCHlch(40.34, 62.56, 354.98°)
OKLaboklab(51.11% 0.192 -0.0136)
OKLCHoklch(51.11% 0.192 355.9)
XYZxyz(21.6088, 11.4577, 14.7065)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C6A #1CB365
analogous
#B11CB3 #B31C6A #B31C1E
triadic
#B31C6A #6AB31C #1C6AB3
tetradic
#B31C6A #B3B11C #1CB365 #1C1EB3
square
#B31C6A #B3B11C #1CB365 #1C1EB3
split-complementary
#B31C6A #1EB31C #1CB3B1
monochromatic
#490B2B #7E144B #B31C6A #DE2E89 #E763A7

Accessibility & contrast

On white

6.38
#B31C6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#B31C6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31C6A
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C6A#FFFFFF#000000##FFFFFF
##B31C6A1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404D6C
Deuteranopia (green-blind)
#6A6967
Tritanopia (blue-blind)
#C20042
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b31c6a;
/* rgb */ color: rgb(179, 28, 106);
/* oklch */ color: oklch(51.1% 0.192 355.9);
Tailwind
colors: {
  custom: {
    50: '#cf6c94',
    500: '#b31c6a',
    950: '#000000',
  },
}
SCSS
$custom: #b31c6a;
$custom-light: #cf6c94;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c6a",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 106
  },
  "hsl": {
    "h": 329.007,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51114,
    "c": 0.19246,
    "h": 355.9
  },
  "luminance": 0.11455
}

Semantic roles & 50–950 ramp

primary
#B31C6A
secondary
#5FCB94
accent
#F09138
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B31C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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