#B31A50#B31A50

#B31A50 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.186 H 7.6°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#B31A50
RGBrgb(179, 26, 80)
HSLhsl(339, 75%, 40%)
HSVhsv(339, 85%, 70%)
CMYKcmyk(0%, 85.5%, 55.3%, 29.8%)
CIE-LABlab(39.42, 60.54, 9.68)
CIE-LCHlch(39.42, 61.30, 9.09°)
OKLaboklab(50.19% 0.1846 0.0247)
OKLCHoklch(50.19% 0.186 7.6)
XYZxyz(20.4098, 10.9047, 8.6180)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31A50 #1AB37D
analogous
#B31A9C #B31A50 #B3311A
triadic
#B31A50 #50B31A #1A50B3
tetradic
#B31A50 #9CB31A #1AB37D #311AB3
square
#B31A50 #9CB31A #1AB37D #311AB3
split-complementary
#B31A50 #1AB331 #1A9CB3
monochromatic
#480A20 #7E1238 #B31A50 #E02A6A #E86090

Accessibility & contrast

On white

6.60
#B31A50 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#B31A50 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31A50
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31A50#FFFFFF#000000##FFFFFF
##B31A501.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474A51
Deuteranopia (green-blind)
#6E674C
Tritanopia (blue-blind)
#C40033
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31a50;
/* rgb */ color: rgb(179, 26, 80);
/* oklch */ color: oklch(50.2% 0.186 7.6);
Tailwind
colors: {
  custom: {
    50: '#d16b80',
    500: '#b31a50',
    950: '#000000',
  },
}
SCSS
$custom: #b31a50;
$custom-light: #d16b80;
$custom-dark: #000000;
JSON
{
  "hex": "#b31a50",
  "rgb": {
    "r": 179,
    "g": 26,
    "b": 80
  },
  "hsl": {
    "h": 338.824,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50189,
    "c": 0.18621,
    "h": 7.6
  },
  "luminance": 0.10902
}

Semantic roles & 50–950 ramp

primary
#B31A50
secondary
#5DCCA5
accent
#F1AF37
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#15080A
muted
#837A7C

Preview Lab

Preview with #B31A50

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

Preview Lab → · Contrast checker → · Palette generator →

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