#B31D63#B31D63

#B31D63 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.9% C 0.189 H 359.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#B31D63
RGBrgb(179, 29, 99)
HSLhsl(332, 72%, 41%)
HSVhsv(332, 84%, 70%)
CMYKcmyk(0%, 83.8%, 44.7%, 29.8%)
CIE-LABlab(40.19, 61.43, -1.29)
CIE-LCHlch(40.19, 61.44, 358.80°)
OKLaboklab(50.93% 0.1891 -0.0026)
OKLCHoklch(50.93% 0.189 359.2)
XYZxyz(21.2836, 11.3662, 12.8751)
Luminance0.1136 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D63 #1DB36D
analogous
#B31DAE #B31D63 #B3221D
triadic
#B31D63 #63B31D #1D63B3
tetradic
#B31D63 #AEB31D #1DB36D #221DB3
square
#B31D63 #AEB31D #1DB36D #221DB3
split-complementary
#B31D63 #1DB322 #1DAEB3
monochromatic
#4A0C29 #7E1446 #B31D63 #DD3081 #E664A1

Accessibility & contrast

On white

6.42
#B31D63 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#B31D63 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31D63
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31D63#FFFFFF#000000##FFFFFF
##B31D631.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434D65
Deuteranopia (green-blind)
#6B6960
Tritanopia (blue-blind)
#C3003E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b31d63;
/* rgb */ color: rgb(179, 29, 99);
/* oklch */ color: oklch(50.9% 0.189 359.2);
Tailwind
colors: {
  custom: {
    50: '#d06c8f',
    500: '#b31d63',
    950: '#000000',
  },
}
SCSS
$custom: #b31d63;
$custom-light: #d06c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d63",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 99
  },
  "hsl": {
    "h": 332,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50929,
    "c": 0.18912,
    "h": 359.2
  },
  "luminance": 0.11363
}

Semantic roles & 50–950 ramp

primary
#B31D63
secondary
#61CB99
accent
#EF9A39
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B31D63

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

Preview Lab → · Contrast checker → · Palette generator →

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