#B31947#B31947

#B31947 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.186 H 11.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#B31947
RGBrgb(179, 25, 71)
HSLhsl(342, 75%, 40%)
HSVhsv(342, 86%, 70%)
CMYKcmyk(0%, 86%, 60.3%, 29.8%)
CIE-LABlab(39.13, 60.13, 15.03)
CIE-LCHlch(39.13, 61.98, 14.04°)
OKLaboklab(49.91% 0.1818 0.0372)
OKLCHoklch(49.91% 0.186 11.6)
XYZxyz(20.0775, 10.7370, 6.9753)
Luminance0.1073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31947 #19B385
analogous
#B31994 #B31947 #B33819
triadic
#B31947 #47B319 #1947B3
tetradic
#B31947 #94B319 #19B385 #3819B3
square
#B31947 #94B319 #19B385 #3819B3
split-complementary
#B31947 #19B338 #1994B3
monochromatic
#480A1C #7D1232 #B31947 #E1285F #E85E87

Accessibility & contrast

On white

6.67
#B31947 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31947
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31947#FFFFFF#000000##FFFFFF
##B319471.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31947;
/* rgb */ color: rgb(179, 25, 71);
/* oklch */ color: oklch(49.9% 0.186 11.6);
Tailwind
colors: {
  custom: {
    50: '#d16a79',
    500: '#b31947',
    950: '#000000',
  },
}
SCSS
$custom: #b31947;
$custom-light: #d16a79;
$custom-dark: #000000;
JSON
{
  "hex": "#b31947",
  "rgb": {
    "r": 179,
    "g": 25,
    "b": 71
  },
  "hsl": {
    "h": 342.078,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.49911,
    "c": 0.18554,
    "h": 11.6
  },
  "luminance": 0.10734
}

Semantic roles & 50–950 ramp

primary
#B31947
secondary
#5BCCAB
accent
#F2BA36
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B

Preview Lab

Preview with #B31947

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

Preview Lab → · Contrast checker → · Palette generator →

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