#B31C66#B31C66

#B31C66 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.0% C 0.191 H 357.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#B31C66
RGBrgb(179, 28, 102)
HSLhsl(331, 73%, 41%)
HSVhsv(331, 84%, 70%)
CMYKcmyk(0%, 84.4%, 43%, 29.8%)
CIE-LABlab(40.21, 61.93, -3.15)
CIE-LCHlch(40.21, 62.01, 357.08°)
OKLaboklab(50.97% 0.1908 -0.0075)
OKLCHoklch(50.97% 0.191 357.7)
XYZxyz(21.4056, 11.3764, 13.6365)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C66 #1CB369
analogous
#B31CB1 #B31C66 #B31D1C
triadic
#B31C66 #66B31C #1C66B3
tetradic
#B31C66 #B1B31C #1CB369 #1D1CB3
square
#B31C66 #B1B31C #1CB369 #1D1CB3
split-complementary
#B31C66 #1CB31D #1CB1B3
monochromatic
#490B2A #7E1448 #B31C66 #DE2E84 #E763A3

Accessibility & contrast

On white

6.41
#B31C66 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#B31C66 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31C66
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C66#FFFFFF#000000##FFFFFF
##B31C661.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414D68
Deuteranopia (green-blind)
#6A6963
Tritanopia (blue-blind)
#C20040
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b31c66;
/* rgb */ color: rgb(179, 28, 102);
/* oklch */ color: oklch(51.0% 0.191 357.7);
Tailwind
colors: {
  custom: {
    50: '#d06c91',
    500: '#b31c66',
    950: '#000000',
  },
}
SCSS
$custom: #b31c66;
$custom-light: #d06c91;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c66",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 102
  },
  "hsl": {
    "h": 330.596,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50973,
    "c": 0.19093,
    "h": 357.7
  },
  "luminance": 0.11374
}

Semantic roles & 50–950 ramp

primary
#B31C66
secondary
#5FCB96
accent
#F09638
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B31C66

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

Preview Lab → · Contrast checker → · Palette generator →

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