#B31A59#B31A59

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

Color values

HEX#B31A59
RGBrgb(179, 26, 89)
HSLhsl(335, 75%, 40%)
HSVhsv(335, 85%, 70%)
CMYKcmyk(0%, 85.5%, 50.3%, 29.8%)
CIE-LABlab(39.66, 61.23, 4.28)
CIE-LCHlch(39.66, 61.38, 4.00°)
OKLaboklab(50.44% 0.1879 0.0115)
OKLCHoklch(50.44% 0.188 3.5)
XYZxyz(20.7649, 11.0468, 10.4881)
Luminance0.1104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31A59 #1AB374
analogous
#B31AA5 #B31A59 #B3271A
triadic
#B31A59 #59B31A #1A59B3
tetradic
#B31A59 #A5B31A #1AB374 #271AB3
square
#B31A59 #A5B31A #1AB374 #271AB3
split-complementary
#B31A59 #1AB327 #1AA5B3
monochromatic
#480A24 #7E123E #B31A59 #E02A75 #E86098

Accessibility & contrast

On white

6.54
#B31A59 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#B31A59 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31A59
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31A59#FFFFFF#000000##FFFFFF
##B31A591.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454B5A
Deuteranopia (green-blind)
#6D6855
Tritanopia (blue-blind)
#C30038
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31a59;
/* rgb */ color: rgb(179, 26, 89);
/* oklch */ color: oklch(50.4% 0.188 3.5);
Tailwind
colors: {
  custom: {
    50: '#d06b87',
    500: '#b31a59',
    950: '#000000',
  },
}
SCSS
$custom: #b31a59;
$custom-light: #d06b87;
$custom-dark: #000000;
JSON
{
  "hex": "#b31a59",
  "rgb": {
    "r": 179,
    "g": 26,
    "b": 89
  },
  "hsl": {
    "h": 335.294,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50443,
    "c": 0.18822,
    "h": 3.5
  },
  "luminance": 0.11044
}

Semantic roles & 50–950 ramp

primary
#B31A59
secondary
#5DCC9E
accent
#F1A437
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080B
muted
#837A7C

Preview Lab

Preview with #B31A59

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

Preview Lab → · Contrast checker → · Palette generator →

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