#B31A55#B31A55

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

Color values

HEX#B31A55
RGBrgb(179, 26, 85)
HSLhsl(337, 75%, 40%)
HSVhsv(337, 85%, 70%)
CMYKcmyk(0%, 85.5%, 52.5%, 29.8%)
CIE-LABlab(39.55, 60.91, 6.67)
CIE-LCHlch(39.55, 61.28, 6.25°)
OKLaboklab(50.33% 0.1864 0.0174)
OKLCHoklch(50.33% 0.187 5.3)
XYZxyz(20.6014, 10.9814, 9.6274)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31A55 #1AB378
analogous
#B31AA1 #B31A55 #B32C1A
triadic
#B31A55 #55B31A #1A55B3
tetradic
#B31A55 #A1B31A #1AB378 #2C1AB3
square
#B31A55 #A1B31A #1AB378 #2C1AB3
split-complementary
#B31A55 #1AB32C #1AA1B3
monochromatic
#480A22 #7E123C #B31A55 #E02A70 #E86094

Accessibility & contrast

On white

6.57
#B31A55 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31A55
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31A55#FFFFFF#000000##FFFFFF
##B31A551.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464A56
Deuteranopia (green-blind)
#6D6851
Tritanopia (blue-blind)
#C40036
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31a55;
/* rgb */ color: rgb(179, 26, 85);
/* oklch */ color: oklch(50.3% 0.187 5.3);
Tailwind
colors: {
  custom: {
    50: '#d06b84',
    500: '#b31a55',
    950: '#000000',
  },
}
SCSS
$custom: #b31a55;
$custom-light: #d06b84;
$custom-dark: #000000;
JSON
{
  "hex": "#b31a55",
  "rgb": {
    "r": 179,
    "g": 26,
    "b": 85
  },
  "hsl": {
    "h": 336.863,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50327,
    "c": 0.18724,
    "h": 5.3
  },
  "luminance": 0.10978
}

Semantic roles & 50–950 ramp

primary
#B31A55
secondary
#5DCCA1
accent
#F1A937
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080A
muted
#837A7C

Preview Lab

Preview with #B31A55

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

Preview Lab → · Contrast checker → · Palette generator →

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