#B31D6B#B31D6B

#B31D6B is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.2% C 0.192 H 355.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#B31D6B
RGBrgb(179, 29, 107)
HSLhsl(329, 72%, 41%)
HSVhsv(329, 84%, 70%)
CMYKcmyk(0%, 83.8%, 40.2%, 29.8%)
CIE-LABlab(40.45, 62.19, -5.94)
CIE-LCHlch(40.45, 62.47, 354.55°)
OKLaboklab(51.21% 0.1916 -0.0149)
OKLCHoklch(51.21% 0.192 355.6)
XYZxyz(21.6852, 11.5268, 14.9901)
Luminance0.1152 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D6B #1DB365
analogous
#B01DB3 #B31D6B #B31D20
triadic
#B31D6B #6BB31D #1D6BB3
tetradic
#B31D6B #B3B01D #1DB365 #1D20B3
square
#B31D6B #B3B01D #1DB365 #1D20B3
split-complementary
#B31D6B #20B31D #1DB3B0
monochromatic
#4A0C2C #7E144C #B31D6B #DD308A #E664A8

Accessibility & contrast

On white

6.35
#B31D6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#B31D6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31D6B
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31D6B#FFFFFF#000000##FFFFFF
##B31D6B1.006.353.306.35
#FFFFFF6.351.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404E6D
Deuteranopia (green-blind)
#696968
Tritanopia (blue-blind)
#C20043
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b31d6b;
/* rgb */ color: rgb(179, 29, 107);
/* oklch */ color: oklch(51.2% 0.192 355.6);
Tailwind
colors: {
  custom: {
    50: '#cf6c95',
    500: '#b31d6b',
    950: '#000000',
  },
}
SCSS
$custom: #b31d6b;
$custom-light: #cf6c95;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d6b",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 107
  },
  "hsl": {
    "h": 328.8,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51207,
    "c": 0.19213,
    "h": 355.6
  },
  "luminance": 0.11524
}

Semantic roles & 50–950 ramp

primary
#B31D6B
secondary
#61CB94
accent
#EF9039
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B31D6B

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

Preview Lab → · Contrast checker → · Palette generator →

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