#B31A47#B31A47

#B31A47 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.185 H 11.7°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#B31A47
RGBrgb(179, 26, 71)
HSLhsl(342, 75%, 40%)
HSVhsv(342, 85%, 70%)
CMYKcmyk(0%, 85.5%, 60.3%, 29.8%)
CIE-LABlab(39.21, 59.92, 15.13)
CIE-LCHlch(39.21, 61.80, 14.17°)
OKLaboklab(49.97% 0.1811 0.0374)
OKLCHoklch(49.97% 0.185 11.7)
XYZxyz(20.0993, 10.7805, 6.9825)
Luminance0.1078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31A47 #1AB386
analogous
#B31A93 #B31A47 #B33A1A
triadic
#B31A47 #47B31A #1A47B3
tetradic
#B31A47 #93B31A #1AB386 #3A1AB3
square
#B31A47 #93B31A #1AB386 #3A1AB3
split-complementary
#B31A47 #1AB33A #1A93B3
monochromatic
#480A1D #7E1232 #B31A47 #E02A60 #E86088

Accessibility & contrast

On white

6.66
#B31A47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#B31A47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31A47
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31A47#FFFFFF#000000##FFFFFF
##B31A471.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494948
Deuteranopia (green-blind)
#6F6743
Tritanopia (blue-blind)
#C4002F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31a47;
/* rgb */ color: rgb(179, 26, 71);
/* oklch */ color: oklch(50.0% 0.185 11.7);
Tailwind
colors: {
  custom: {
    50: '#d16a79',
    500: '#b31a47',
    950: '#000000',
  },
}
SCSS
$custom: #b31a47;
$custom-light: #d16a79;
$custom-dark: #000000;
JSON
{
  "hex": "#b31a47",
  "rgb": {
    "r": 179,
    "g": 26,
    "b": 71
  },
  "hsl": {
    "h": 342.353,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49966,
    "c": 0.18491,
    "h": 11.7
  },
  "luminance": 0.10777
}

Semantic roles & 50–950 ramp

primary
#B31A47
secondary
#5DCCAB
accent
#F1BA37
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B

Preview Lab

Preview with #B31A47

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

Preview Lab → · Contrast checker → · Palette generator →

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