#B31747#B31747

#B31747 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.187 H 11.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#B31747
RGBrgb(179, 23, 71)
HSLhsl(342, 77%, 40%)
HSVhsv(342, 87%, 70%)
CMYKcmyk(0%, 87.2%, 60.3%, 29.8%)
CIE-LABlab(38.99, 60.54, 14.84)
CIE-LCHlch(38.99, 62.33, 13.77°)
OKLaboklab(49.81% 0.1831 0.0367)
OKLCHoklch(49.81% 0.187 11.3)
XYZxyz(20.0363, 10.6545, 6.9615)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31747 #17B383
analogous
#B31795 #B31747 #B33517
triadic
#B31747 #47B317 #1747B3
tetradic
#B31747 #95B317 #17B383 #3517B3
square
#B31747 #95B317 #17B383 #3517B3
split-complementary
#B31747 #17B335 #1795B3
monochromatic
#47091C #7D1031 #B31747 #E3245F #EA5B87

Accessibility & contrast

On white

6.71
#B31747 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#B31747 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31747
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31747#FFFFFF#000000##FFFFFF
##B317471.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31747;
/* rgb */ color: rgb(179, 23, 71);
/* oklch */ color: oklch(49.8% 0.187 11.3);
Tailwind
colors: {
  custom: {
    50: '#d16a79',
    500: '#b31747',
    950: '#000000',
  },
}
SCSS
$custom: #b31747;
$custom-light: #d16a79;
$custom-dark: #000000;
JSON
{
  "hex": "#b31747",
  "rgb": {
    "r": 179,
    "g": 23,
    "b": 71
  },
  "hsl": {
    "h": 341.538,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49807,
    "c": 0.18674,
    "h": 11.3
  },
  "luminance": 0.10651
}

Semantic roles & 50–950 ramp

primary
#B31747
secondary
#58CDA9
accent
#F4B934
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150709
muted
#837A7B

Preview Lab

Preview with #B31747

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

Preview Lab → · Contrast checker → · Palette generator →

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