#B31D51#B31D51

#B31D51 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.184 H 7.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#B31D51
RGBrgb(179, 29, 81)
HSLhsl(339, 72%, 41%)
HSVhsv(339, 84%, 70%)
CMYKcmyk(0%, 83.8%, 54.7%, 29.8%)
CIE-LABlab(39.68, 59.93, 9.41)
CIE-LCHlch(39.68, 60.67, 8.92°)
OKLaboklab(50.39% 0.1828 0.0241)
OKLCHoklch(50.39% 0.184 7.5)
XYZxyz(20.5170, 11.0595, 8.8373)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D51 #1DB37F
analogous
#B31D9C #B31D51 #B3341D
triadic
#B31D51 #51B31D #1D51B3
tetradic
#B31D51 #9CB31D #1DB37F #341DB3
square
#B31D51 #9CB31D #1DB37F #341DB3
split-complementary
#B31D51 #1DB334 #1D9CB3
monochromatic
#4A0C21 #7E1439 #B31D51 #DD306C #E66491

Accessibility & contrast

On white

6.54
#B31D51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#B31D51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31D51
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31D51#FFFFFF#000000##FFFFFF
##B31D511.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484B52
Deuteranopia (green-blind)
#6E684D
Tritanopia (blue-blind)
#C40035
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31d51;
/* rgb */ color: rgb(179, 29, 81);
/* oklch */ color: oklch(50.4% 0.184 7.5);
Tailwind
colors: {
  custom: {
    50: '#d16c81',
    500: '#b31d51',
    950: '#000000',
  },
}
SCSS
$custom: #b31d51;
$custom-light: #d16c81;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d51",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 81
  },
  "hsl": {
    "h": 339.2,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50389,
    "c": 0.18433,
    "h": 7.5
  },
  "luminance": 0.11057
}

Semantic roles & 50–950 ramp

primary
#B31D51
secondary
#61CBA6
accent
#EFB039
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B31D51

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

Preview Lab → · Contrast checker → · Palette generator →

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