#B31D68#B31D68

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

Color values

HEX#B31D68
RGBrgb(179, 29, 104)
HSLhsl(330, 72%, 41%)
HSVhsv(330, 84%, 70%)
CMYKcmyk(0%, 83.8%, 41.9%, 29.8%)
CIE-LABlab(40.35, 61.89, -4.20)
CIE-LCHlch(40.35, 62.04, 356.12°)
OKLaboklab(51.1% 0.1907 -0.0103)
OKLCHoklch(51.1% 0.191 356.9)
XYZxyz(21.5301, 11.4648, 14.1732)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D68 #1DB368
analogous
#B31DB3 #B31D68 #B31D1D
triadic
#B31D68 #68B31D #1D68B3
tetradic
#B31D68 #B3B31D #1DB368 #1D1DB3
square
#B31D68 #B3B31D #1DB368 #1D1DB3
split-complementary
#B31D68 #1DB31D #1DB3B3
monochromatic
#4A0C2B #7E1449 #B31D68 #DD3087 #E664A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31D68#FFFFFF#000000##FFFFFF
##B31D681.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)
#414D6A
Deuteranopia (green-blind)
#6A6965
Tritanopia (blue-blind)
#C20041
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b31d68;
/* rgb */ color: rgb(179, 29, 104);
/* oklch */ color: oklch(51.1% 0.191 356.9);
Tailwind
colors: {
  custom: {
    50: '#cf6c93',
    500: '#b31d68',
    950: '#000000',
  },
}
SCSS
$custom: #b31d68;
$custom-light: #cf6c93;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d68",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 104
  },
  "hsl": {
    "h": 330,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.511,
    "c": 0.19094,
    "h": 356.9
  },
  "luminance": 0.11462
}

Semantic roles & 50–950 ramp

primary
#B31D68
secondary
#61CB96
accent
#EF9439
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B31D68

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

Preview Lab → · Contrast checker → · Palette generator →

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