#B31A49#B31A49

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

Color values

HEX#B31A49
RGBrgb(179, 26, 73)
HSLhsl(342, 75%, 40%)
HSVhsv(342, 85%, 70%)
CMYKcmyk(0%, 85.5%, 59.2%, 29.8%)
CIE-LABlab(39.25, 60.05, 13.92)
CIE-LCHlch(39.25, 61.64, 13.05°)
OKLaboklab(50.01% 0.1819 0.0346)
OKLCHoklch(50.01% 0.185 10.8)
XYZxyz(20.1645, 10.8066, 7.3262)
Luminance0.1080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31A49 #1AB384
analogous
#B31A95 #B31A49 #B3381A
triadic
#B31A49 #49B31A #1A49B3
tetradic
#B31A49 #95B31A #1AB384 #381AB3
square
#B31A49 #95B31A #1AB384 #381AB3
split-complementary
#B31A49 #1AB338 #1A95B3
monochromatic
#480A1D #7E1233 #B31A49 #E02A62 #E86089

Accessibility & contrast

On white

6.64
#B31A49 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31A49
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31A49#FFFFFF#000000##FFFFFF
##B31A491.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49494A
Deuteranopia (green-blind)
#6F6745
Tritanopia (blue-blind)
#C40030
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31a49;
/* rgb */ color: rgb(179, 26, 73);
/* oklch */ color: oklch(50.0% 0.185 10.8);
Tailwind
colors: {
  custom: {
    50: '#d16a7b',
    500: '#b31a49',
    950: '#000000',
  },
}
SCSS
$custom: #b31a49;
$custom-light: #d16a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b31a49",
  "rgb": {
    "r": 179,
    "g": 26,
    "b": 73
  },
  "hsl": {
    "h": 341.569,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50013,
    "c": 0.18514,
    "h": 10.8
  },
  "luminance": 0.10804
}

Semantic roles & 50–950 ramp

primary
#B31A49
secondary
#5DCCAA
accent
#F1B837
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B

Preview Lab

Preview with #B31A49

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

Preview Lab → · Contrast checker → · Palette generator →

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