#B31D6C#B31D6C

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

Color values

HEX#B31D6C
RGBrgb(179, 29, 108)
HSLhsl(328, 72%, 41%)
HSVhsv(328, 84%, 70%)
CMYKcmyk(0%, 83.8%, 39.7%, 29.8%)
CIE-LABlab(40.49, 62.29, -6.51)
CIE-LCHlch(40.49, 62.63, 354.03°)
OKLaboklab(51.24% 0.1918 -0.0164)
OKLCHoklch(51.24% 0.193 355.1)
XYZxyz(21.7381, 11.5480, 15.2687)
Luminance0.1154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D6C #1DB364
analogous
#AF1DB3 #B31D6C #B31D21
triadic
#B31D6C #6CB31D #1D6CB3
tetradic
#B31D6C #B3AF1D #1DB364 #1D21B3
square
#B31D6C #B3AF1D #1DB364 #1D21B3
split-complementary
#B31D6C #21B31D #1DB3AF
monochromatic
#4A0C2C #7E144C #B31D6C #DD308B #E664A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31D6C#FFFFFF#000000##FFFFFF
##B31D6C1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31d6c;
/* rgb */ color: rgb(179, 29, 108);
/* oklch */ color: oklch(51.2% 0.193 355.1);
Tailwind
colors: {
  custom: {
    50: '#cf6d96',
    500: '#b31d6c',
    950: '#000000',
  },
}
SCSS
$custom: #b31d6c;
$custom-light: #cf6d96;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d6c",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 108
  },
  "hsl": {
    "h": 328.4,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51243,
    "c": 0.19253,
    "h": 355.1
  },
  "luminance": 0.11545
}

Semantic roles & 50–950 ramp

primary
#B31D6C
secondary
#61CB93
accent
#EF8F39
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B31D6C

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

Preview Lab → · Contrast checker → · Palette generator →

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