#B31C67#B31C67

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

Color values

HEX#B31C67
RGBrgb(179, 28, 103)
HSLhsl(330, 73%, 41%)
HSVhsv(330, 84%, 70%)
CMYKcmyk(0%, 84.4%, 42.5%, 29.8%)
CIE-LABlab(40.24, 62.03, -3.74)
CIE-LCHlch(40.24, 62.14, 356.55°)
OKLaboklab(51.01% 0.1911 -0.009)
OKLCHoklch(51.01% 0.191 357.3)
XYZxyz(21.4555, 11.3964, 13.8992)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C67 #1CB368
analogous
#B31CB2 #B31C67 #B31D1C
triadic
#B31C67 #67B31C #1C67B3
tetradic
#B31C67 #B2B31C #1CB368 #1D1CB3
square
#B31C67 #B2B31C #1CB368 #1D1CB3
split-complementary
#B31C67 #1CB31D #1CB2B3
monochromatic
#490B2A #7E1449 #B31C67 #DE2E86 #E763A4

Accessibility & contrast

On white

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

On black

3.28
#B31C67 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B31C67#FFFFFF#000000##FFFFFF
##B31C671.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31c67;
/* rgb */ color: rgb(179, 28, 103);
/* oklch */ color: oklch(51.0% 0.191 357.3);
Tailwind
colors: {
  custom: {
    50: '#cf6c92',
    500: '#b31c67',
    950: '#000000',
  },
}
SCSS
$custom: #b31c67;
$custom-light: #cf6c92;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c67",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 103
  },
  "hsl": {
    "h": 330.199,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51007,
    "c": 0.1913,
    "h": 357.3
  },
  "luminance": 0.11393
}

Semantic roles & 50–950 ramp

primary
#B31C67
secondary
#5FCB96
accent
#F09538
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080D
muted
#837B7D

Preview Lab

Preview with #B31C67

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

Preview Lab → · Contrast checker → · Palette generator →

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