#B31A53#B31A53

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

Color values

HEX#B31A53
RGBrgb(179, 26, 83)
HSLhsl(338, 75%, 40%)
HSVhsv(338, 85%, 70%)
CMYKcmyk(0%, 85.5%, 53.6%, 29.8%)
CIE-LABlab(39.50, 60.76, 7.87)
CIE-LCHlch(39.50, 61.27, 7.38°)
OKLaboklab(50.27% 0.1857 0.0204)
OKLCHoklch(50.27% 0.187 6.3)
XYZxyz(20.5231, 10.9500, 9.2148)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31A53 #1AB37A
analogous
#B31A9F #B31A53 #B32D1A
triadic
#B31A53 #53B31A #1A53B3
tetradic
#B31A53 #9FB31A #1AB37A #2D1AB3
square
#B31A53 #9FB31A #1AB37A #2D1AB3
split-complementary
#B31A53 #1AB32D #1A9FB3
monochromatic
#480A21 #7E123A #B31A53 #E02A6E #E86092

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31A53#FFFFFF#000000##FFFFFF
##B31A531.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)
#464A54
Deuteranopia (green-blind)
#6E684F
Tritanopia (blue-blind)
#C40035
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31a53;
/* rgb */ color: rgb(179, 26, 83);
/* oklch */ color: oklch(50.3% 0.187 6.3);
Tailwind
colors: {
  custom: {
    50: '#d16b83',
    500: '#b31a53',
    950: '#000000',
  },
}
SCSS
$custom: #b31a53;
$custom-light: #d16b83;
$custom-dark: #000000;
JSON
{
  "hex": "#b31a53",
  "rgb": {
    "r": 179,
    "g": 26,
    "b": 83
  },
  "hsl": {
    "h": 337.647,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50271,
    "c": 0.1868,
    "h": 6.3
  },
  "luminance": 0.10947
}

Semantic roles & 50–950 ramp

primary
#B31A53
secondary
#5DCCA3
accent
#F1AC37
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#15080A
muted
#837A7C

Preview Lab

Preview with #B31A53

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

Preview Lab → · Contrast checker → · Palette generator →

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