#B31D57#B31D57

#B31D57 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.186 H 4.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#B31D57
RGBrgb(179, 29, 87)
HSLhsl(337, 72%, 41%)
HSVhsv(337, 84%, 70%)
CMYKcmyk(0%, 83.8%, 51.4%, 29.8%)
CIE-LABlab(39.84, 60.40, 5.81)
CIE-LCHlch(39.84, 60.68, 5.50°)
OKLaboklab(50.56% 0.185 0.0153)
OKLCHoklch(50.56% 0.186 4.7)
XYZxyz(20.7520, 11.1535, 10.0751)
Luminance0.1115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D57 #1DB379
analogous
#B31DA2 #B31D57 #B32E1D
triadic
#B31D57 #57B31D #1D57B3
tetradic
#B31D57 #A2B31D #1DB379 #2E1DB3
square
#B31D57 #A2B31D #1DB379 #2E1DB3
split-complementary
#B31D57 #1DB32E #1DA2B3
monochromatic
#4A0C24 #7E143D #B31D57 #DD3073 #E66497

Accessibility & contrast

On white

6.50
#B31D57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#B31D57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31D57
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31D57#FFFFFF#000000##FFFFFF
##B31D571.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464B58
Deuteranopia (green-blind)
#6E6853
Tritanopia (blue-blind)
#C30038
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31d57;
/* rgb */ color: rgb(179, 29, 87);
/* oklch */ color: oklch(50.6% 0.186 4.7);
Tailwind
colors: {
  custom: {
    50: '#d06c86',
    500: '#b31d57',
    950: '#000000',
  },
}
SCSS
$custom: #b31d57;
$custom-light: #d06c86;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d57",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 87
  },
  "hsl": {
    "h": 336.8,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50556,
    "c": 0.1856,
    "h": 4.7
  },
  "luminance": 0.11151
}

Semantic roles & 50–950 ramp

primary
#B31D57
secondary
#61CBA2
accent
#EFA939
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B31D57

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

Preview Lab → · Contrast checker → · Palette generator →

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