#B31C68#B31C68

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

Color values

HEX#B31C68
RGBrgb(179, 28, 104)
HSLhsl(330, 73%, 41%)
HSVhsv(330, 84%, 70%)
CMYKcmyk(0%, 84.4%, 41.9%, 29.8%)
CIE-LABlab(40.27, 62.12, -4.32)
CIE-LCHlch(40.27, 62.27, 356.02°)
OKLaboklab(51.04% 0.1914 -0.0106)
OKLCHoklch(51.04% 0.192 356.8)
XYZxyz(21.5060, 11.4166, 14.1652)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C68 #1CB367
analogous
#B21CB3 #B31C68 #B31C1D
triadic
#B31C68 #68B31C #1C68B3
tetradic
#B31C68 #B3B21C #1CB367 #1C1DB3
square
#B31C68 #B3B21C #1CB367 #1C1DB3
split-complementary
#B31C68 #1DB31C #1CB3B2
monochromatic
#490B2B #7E1449 #B31C68 #DE2E87 #E763A5

Accessibility & contrast

On white

6.40
#B31C68 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31C68
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C68#FFFFFF#000000##FFFFFF
##B31C681.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414D6A
Deuteranopia (green-blind)
#6A6965
Tritanopia (blue-blind)
#C20041
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b31c68;
/* rgb */ color: rgb(179, 28, 104);
/* oklch */ color: oklch(51.0% 0.192 356.8);
Tailwind
colors: {
  custom: {
    50: '#cf6c93',
    500: '#b31c68',
    950: '#000000',
  },
}
SCSS
$custom: #b31c68;
$custom-light: #cf6c93;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c68",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 104
  },
  "hsl": {
    "h": 329.801,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51042,
    "c": 0.19168,
    "h": 356.8
  },
  "luminance": 0.11414
}

Semantic roles & 50–950 ramp

primary
#B31C68
secondary
#5FCB95
accent
#F09338
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B31C68

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

Preview Lab → · Contrast checker → · Palette generator →

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