#B31A57#B31A57

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

Color values

HEX#B31A57
RGBrgb(179, 26, 87)
HSLhsl(336, 75%, 40%)
HSVhsv(336, 85%, 70%)
CMYKcmyk(0%, 85.5%, 51.4%, 29.8%)
CIE-LABlab(39.60, 61.07, 5.48)
CIE-LCHlch(39.60, 61.31, 5.13°)
OKLaboklab(50.38% 0.1872 0.0145)
OKLCHoklch(50.38% 0.188 4.4)
XYZxyz(20.6820, 11.0136, 10.0518)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31A57 #1AB376
analogous
#B31AA4 #B31A57 #B3291A
triadic
#B31A57 #57B31A #1A57B3
tetradic
#B31A57 #A4B31A #1AB376 #291AB3
square
#B31A57 #A4B31A #1AB376 #291AB3
split-complementary
#B31A57 #1AB329 #1AA4B3
monochromatic
#480A23 #7E123D #B31A57 #E02A73 #E86096

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31A57#FFFFFF#000000##FFFFFF
##B31A571.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)
#454A58
Deuteranopia (green-blind)
#6D6853
Tritanopia (blue-blind)
#C30037
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31a57;
/* rgb */ color: rgb(179, 26, 87);
/* oklch */ color: oklch(50.4% 0.188 4.4);
Tailwind
colors: {
  custom: {
    50: '#d06b86',
    500: '#b31a57',
    950: '#000000',
  },
}
SCSS
$custom: #b31a57;
$custom-light: #d06b86;
$custom-dark: #000000;
JSON
{
  "hex": "#b31a57",
  "rgb": {
    "r": 179,
    "g": 26,
    "b": 87
  },
  "hsl": {
    "h": 336.078,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50384,
    "c": 0.18771,
    "h": 4.4
  },
  "luminance": 0.11011
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B31A57

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

Preview Lab → · Contrast checker → · Palette generator →

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