#B31A4B#B31A4B

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

Color values

HEX#B31A4B
RGBrgb(179, 26, 75)
HSLhsl(341, 75%, 40%)
HSVhsv(341, 85%, 70%)
CMYKcmyk(0%, 85.5%, 58.1%, 29.8%)
CIE-LABlab(39.30, 60.18, 12.70)
CIE-LCHlch(39.30, 61.51, 11.92°)
OKLaboklab(50.06% 0.1827 0.0318)
OKLCHoklch(50.06% 0.185 9.9)
XYZxyz(20.2319, 10.8336, 7.6810)
Luminance0.1083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31A4B #1AB382
analogous
#B31A98 #B31A4B #B3351A
triadic
#B31A4B #4BB31A #1A4BB3
tetradic
#B31A4B #98B31A #1AB382 #351AB3
square
#B31A4B #98B31A #1AB382 #351AB3
split-complementary
#B31A4B #1AB335 #1A98B3
monochromatic
#480A1E #7E1235 #B31A4B #E02A64 #E8608B

Accessibility & contrast

On white

6.63
#B31A4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#B31A4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31A4B
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31A4B#FFFFFF#000000##FFFFFF
##B31A4B1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48494C
Deuteranopia (green-blind)
#6F6747
Tritanopia (blue-blind)
#C40031
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31a4b;
/* rgb */ color: rgb(179, 26, 75);
/* oklch */ color: oklch(50.1% 0.185 9.9);
Tailwind
colors: {
  custom: {
    50: '#d16b7c',
    500: '#b31a4b',
    950: '#000000',
  },
}
SCSS
$custom: #b31a4b;
$custom-light: #d16b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b31a4b",
  "rgb": {
    "r": 179,
    "g": 26,
    "b": 75
  },
  "hsl": {
    "h": 340.784,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50062,
    "c": 0.1854,
    "h": 9.9
  },
  "luminance": 0.1083
}

Semantic roles & 50–950 ramp

primary
#B31A4B
secondary
#5DCCA8
accent
#F1B537
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#150809
muted
#837A7B

Preview Lab

Preview with #B31A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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