#B31D66#B31D66

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

Color values

HEX#B31D66
RGBrgb(179, 29, 102)
HSLhsl(331, 72%, 41%)
HSVhsv(331, 84%, 70%)
CMYKcmyk(0%, 83.8%, 43%, 29.8%)
CIE-LABlab(40.29, 61.70, -3.04)
CIE-LCHlch(40.29, 61.78, 357.18°)
OKLaboklab(51.03% 0.1901 -0.0072)
OKLCHoklch(51.03% 0.19 357.8)
XYZxyz(21.4297, 11.4246, 13.6445)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D66 #1DB36A
analogous
#B31DB1 #B31D66 #B31F1D
triadic
#B31D66 #66B31D #1D66B3
tetradic
#B31D66 #B1B31D #1DB36A #1F1DB3
square
#B31D66 #B1B31D #1DB36A #1F1DB3
split-complementary
#B31D66 #1DB31F #1DB1B3
monochromatic
#4A0C2A #7E1448 #B31D66 #DD3084 #E664A3

Accessibility & contrast

On white

6.39
#B31D66 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31D66
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31D66#FFFFFF#000000##FFFFFF
##B31D661.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31d66;
/* rgb */ color: rgb(179, 29, 102);
/* oklch */ color: oklch(51.0% 0.190 357.8);
Tailwind
colors: {
  custom: {
    50: '#cf6c91',
    500: '#b31d66',
    950: '#000000',
  },
}
SCSS
$custom: #b31d66;
$custom-light: #cf6c91;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d66",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 102
  },
  "hsl": {
    "h": 330.8,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5103,
    "c": 0.19019,
    "h": 357.8
  },
  "luminance": 0.11422
}

Semantic roles & 50–950 ramp

primary
#B31D66
secondary
#61CB97
accent
#EF9639
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B31D66

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

Preview Lab → · Contrast checker → · Palette generator →

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