#B31949#B31949

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

Color values

HEX#B31949
RGBrgb(179, 25, 73)
HSLhsl(341, 75%, 40%)
HSVhsv(341, 86%, 70%)
CMYKcmyk(0%, 86%, 59.2%, 29.8%)
CIE-LABlab(39.18, 60.26, 13.82)
CIE-LCHlch(39.18, 61.83, 12.91°)
OKLaboklab(49.96% 0.1826 0.0344)
OKLCHoklch(49.96% 0.186 10.7)
XYZxyz(20.1427, 10.7631, 7.3189)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31949 #19B383
analogous
#B31996 #B31949 #B33619
triadic
#B31949 #49B319 #1949B3
tetradic
#B31949 #96B319 #19B383 #3619B3
square
#B31949 #96B319 #19B383 #3619B3
split-complementary
#B31949 #19B336 #1996B3
monochromatic
#480A1D #7D1233 #B31949 #E12862 #E85E89

Accessibility & contrast

On white

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

On black

3.15
#B31949 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B31949#FFFFFF#000000##FFFFFF
##B319491.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31949;
/* rgb */ color: rgb(179, 25, 73);
/* oklch */ color: oklch(50.0% 0.186 10.7);
Tailwind
colors: {
  custom: {
    50: '#d16a7b',
    500: '#b31949',
    950: '#000000',
  },
}
SCSS
$custom: #b31949;
$custom-light: #d16a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b31949",
  "rgb": {
    "r": 179,
    "g": 25,
    "b": 73
  },
  "hsl": {
    "h": 341.299,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.49958,
    "c": 0.18577,
    "h": 10.7
  },
  "luminance": 0.1076
}

Semantic roles & 50–950 ramp

primary
#B31949
secondary
#5BCCA9
accent
#F2B736
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B

Preview Lab

Preview with #B31949

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

Preview Lab → · Contrast checker → · Palette generator →

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