#B31A56#B31A56

#B31A56 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.4% C 0.187 H 4.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#B31A56
RGBrgb(179, 26, 86)
HSLhsl(336, 75%, 40%)
HSVhsv(336, 85%, 70%)
CMYKcmyk(0%, 85.5%, 52%, 29.8%)
CIE-LABlab(39.58, 60.99, 6.08)
CIE-LCHlch(39.58, 61.29, 5.69°)
OKLaboklab(50.36% 0.1868 0.016)
OKLCHoklch(50.36% 0.187 4.9)
XYZxyz(20.6415, 10.9974, 9.8381)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31A56 #1AB377
analogous
#B31AA2 #B31A56 #B32B1A
triadic
#B31A56 #56B31A #1A56B3
tetradic
#B31A56 #A2B31A #1AB377 #2B1AB3
square
#B31A56 #A2B31A #1AB377 #2B1AB3
split-complementary
#B31A56 #1AB32B #1AA2B3
monochromatic
#480A23 #7E123C #B31A56 #E02A71 #E86095

Accessibility & contrast

On white

6.56
#B31A56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#B31A56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31A56
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31A56#FFFFFF#000000##FFFFFF
##B31A561.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464A57
Deuteranopia (green-blind)
#6D6852
Tritanopia (blue-blind)
#C30037
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31a56;
/* rgb */ color: rgb(179, 26, 86);
/* oklch */ color: oklch(50.4% 0.187 4.9);
Tailwind
colors: {
  custom: {
    50: '#d06b85',
    500: '#b31a56',
    950: '#000000',
  },
}
SCSS
$custom: #b31a56;
$custom-light: #d06b85;
$custom-dark: #000000;
JSON
{
  "hex": "#b31a56",
  "rgb": {
    "r": 179,
    "g": 26,
    "b": 86
  },
  "hsl": {
    "h": 336.471,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50355,
    "c": 0.18747,
    "h": 4.9
  },
  "luminance": 0.10994
}

Semantic roles & 50–950 ramp

primary
#B31A56
secondary
#5DCCA0
accent
#F1A837
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080B
muted
#837A7C

Preview Lab

Preview with #B31A56

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

Preview Lab → · Contrast checker → · Palette generator →

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