#B31D6D#B31D6D

#B31D6D is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.3% C 0.193 H 354.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#B31D6D
RGBrgb(179, 29, 109)
HSLhsl(328, 72%, 41%)
HSVhsv(328, 84%, 70%)
CMYKcmyk(0%, 83.8%, 39.1%, 29.8%)
CIE-LABlab(40.52, 62.39, -7.09)
CIE-LCHlch(40.52, 62.79, 353.52°)
OKLaboklab(51.28% 0.1921 -0.0179)
OKLCHoklch(51.28% 0.193 354.7)
XYZxyz(21.7916, 11.5694, 15.5506)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D6D #1DB363
analogous
#AE1DB3 #B31D6D #B31D22
triadic
#B31D6D #6DB31D #1D6DB3
tetradic
#B31D6D #B3AE1D #1DB363 #1D22B3
square
#B31D6D #B3AE1D #1DB363 #1D22B3
split-complementary
#B31D6D #22B31D #1DB3AE
monochromatic
#4A0C2D #7E144D #B31D6D #DD308C #E664AA

Accessibility & contrast

On white

6.34
#B31D6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#B31D6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31D6D
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31D6D#FFFFFF#000000##FFFFFF
##B31D6D1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4E6F
Deuteranopia (green-blind)
#69696A
Tritanopia (blue-blind)
#C20044
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b31d6d;
/* rgb */ color: rgb(179, 29, 109);
/* oklch */ color: oklch(51.3% 0.193 354.7);
Tailwind
colors: {
  custom: {
    50: '#cf6d96',
    500: '#b31d6d',
    950: '#000000',
  },
}
SCSS
$custom: #b31d6d;
$custom-light: #cf6d96;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d6d",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 109
  },
  "hsl": {
    "h": 328,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5128,
    "c": 0.19295,
    "h": 354.7
  },
  "luminance": 0.11567
}

Semantic roles & 50–950 ramp

primary
#B31D6D
secondary
#61CB92
accent
#EF8E39
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B31D6D

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

Preview Lab → · Contrast checker → · Palette generator →

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