#B31D55#B31D55

#B31D55 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.185 H 5.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#B31D55
RGBrgb(179, 29, 85)
HSLhsl(338, 72%, 41%)
HSVhsv(338, 84%, 70%)
CMYKcmyk(0%, 83.8%, 52.5%, 29.8%)
CIE-LABlab(39.78, 60.24, 7.01)
CIE-LCHlch(39.78, 60.64, 6.63°)
OKLaboklab(50.5% 0.1842 0.0183)
OKLCHoklch(50.5% 0.185 5.7)
XYZxyz(20.6714, 11.1213, 9.6507)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D55 #1DB37B
analogous
#B31DA0 #B31D55 #B3301D
triadic
#B31D55 #55B31D #1D55B3
tetradic
#B31D55 #A0B31D #1DB37B #301DB3
square
#B31D55 #A0B31D #1DB37B #301DB3
split-complementary
#B31D55 #1DB330 #1DA0B3
monochromatic
#4A0C23 #7E143C #B31D55 #DD3071 #E66495

Accessibility & contrast

On white

6.51
#B31D55 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#B31D55 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31D55
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31D55#FFFFFF#000000##FFFFFF
##B31D551.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474B56
Deuteranopia (green-blind)
#6E6851
Tritanopia (blue-blind)
#C30037
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31d55;
/* rgb */ color: rgb(179, 29, 85);
/* oklch */ color: oklch(50.5% 0.185 5.7);
Tailwind
colors: {
  custom: {
    50: '#d06c84',
    500: '#b31d55',
    950: '#000000',
  },
}
SCSS
$custom: #b31d55;
$custom-light: #d06c84;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d55",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 85
  },
  "hsl": {
    "h": 337.6,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50499,
    "c": 0.18514,
    "h": 5.7
  },
  "luminance": 0.11118
}

Semantic roles & 50–950 ramp

primary
#B31D55
secondary
#61CBA3
accent
#EFAB39
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B31D55

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

Preview Lab → · Contrast checker → · Palette generator →

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