#B31A54#B31A54

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

Color values

HEX#B31A54
RGBrgb(179, 26, 84)
HSLhsl(337, 75%, 40%)
HSVhsv(337, 85%, 70%)
CMYKcmyk(0%, 85.5%, 53.1%, 29.8%)
CIE-LABlab(39.52, 60.83, 7.27)
CIE-LCHlch(39.52, 61.27, 6.82°)
OKLaboklab(50.3% 0.1861 0.0189)
OKLCHoklch(50.3% 0.187 5.8)
XYZxyz(20.5620, 10.9656, 9.4196)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31A54 #1AB379
analogous
#B31AA0 #B31A54 #B32D1A
triadic
#B31A54 #54B31A #1A54B3
tetradic
#B31A54 #A0B31A #1AB379 #2D1AB3
square
#B31A54 #A0B31A #1AB379 #2D1AB3
split-complementary
#B31A54 #1AB32D #1AA0B3
monochromatic
#480A22 #7E123B #B31A54 #E02A6F #E86093

Accessibility & contrast

On white

6.58
#B31A54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#B31A54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31A54
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31A54#FFFFFF#000000##FFFFFF
##B31A541.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464A55
Deuteranopia (green-blind)
#6D6850
Tritanopia (blue-blind)
#C40035
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31a54;
/* rgb */ color: rgb(179, 26, 84);
/* oklch */ color: oklch(50.3% 0.187 5.8);
Tailwind
colors: {
  custom: {
    50: '#d06b83',
    500: '#b31a54',
    950: '#000000',
  },
}
SCSS
$custom: #b31a54;
$custom-light: #d06b83;
$custom-dark: #000000;
JSON
{
  "hex": "#b31a54",
  "rgb": {
    "r": 179,
    "g": 26,
    "b": 84
  },
  "hsl": {
    "h": 337.255,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50298,
    "c": 0.18702,
    "h": 5.8
  },
  "luminance": 0.10963
}

Semantic roles & 50–950 ramp

primary
#B31A54
secondary
#5DCCA2
accent
#F1AA37
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080A
muted
#837A7C

Preview Lab

Preview with #B31A54

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

Preview Lab → · Contrast checker → · Palette generator →

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