#B31A58#B31A58

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

Color values

HEX#B31A58
RGBrgb(179, 26, 88)
HSLhsl(336, 75%, 40%)
HSVhsv(336, 85%, 70%)
CMYKcmyk(0%, 85.5%, 50.8%, 29.8%)
CIE-LABlab(39.63, 61.15, 4.88)
CIE-LCHlch(39.63, 61.34, 4.56°)
OKLaboklab(50.41% 0.1875 0.013)
OKLCHoklch(50.41% 0.188 4)
XYZxyz(20.7232, 11.0301, 10.2684)
Luminance0.1103 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31A58 #1AB375
analogous
#B31AA5 #B31A58 #B3281A
triadic
#B31A58 #58B31A #1A58B3
tetradic
#B31A58 #A5B31A #1AB375 #281AB3
square
#B31A58 #A5B31A #1AB375 #281AB3
split-complementary
#B31A58 #1AB328 #1AA5B3
monochromatic
#480A23 #7E123E #B31A58 #E02A74 #E86097

Accessibility & contrast

On white

6.55
#B31A58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31A58
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31A58#FFFFFF#000000##FFFFFF
##B31A581.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31a58;
/* rgb */ color: rgb(179, 26, 88);
/* oklch */ color: oklch(50.4% 0.188 4.0);
Tailwind
colors: {
  custom: {
    50: '#d06b86',
    500: '#b31a58',
    950: '#000000',
  },
}
SCSS
$custom: #b31a58;
$custom-light: #d06b86;
$custom-dark: #000000;
JSON
{
  "hex": "#b31a58",
  "rgb": {
    "r": 179,
    "g": 26,
    "b": 88
  },
  "hsl": {
    "h": 335.686,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50413,
    "c": 0.18796,
    "h": 4
  },
  "luminance": 0.11027
}

Semantic roles & 50–950 ramp

primary
#B31A58
secondary
#5DCC9F
accent
#F1A637
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080B
muted
#837A7C

Preview Lab

Preview with #B31A58

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

Preview Lab → · Contrast checker → · Palette generator →

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