#B31647#B31647

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

Color values

HEX#B31647
RGBrgb(179, 22, 71)
HSLhsl(341, 78%, 39%)
HSVhsv(341, 88%, 70%)
CMYKcmyk(0%, 87.7%, 60.3%, 29.8%)
CIE-LABlab(38.93, 60.73, 14.75)
CIE-LCHlch(38.93, 62.50, 13.65°)
OKLaboklab(49.76% 0.1837 0.0365)
OKLCHoklch(49.76% 0.187 11.2)
XYZxyz(20.0168, 10.6155, 6.9550)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31647 #16B382
analogous
#B31696 #B31647 #B33416
triadic
#B31647 #47B316 #1647B3
tetradic
#B31647 #96B316 #16B382 #3416B3
square
#B31647 #96B316 #16B382 #3416B3
split-complementary
#B31647 #16B334 #1696B3
monochromatic
#46091C #7C0F31 #B31647 #E4225F #EB5986

Accessibility & contrast

On white

6.73
#B31647 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#B31647 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31647
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31647#FFFFFF#000000##FFFFFF
##B316471.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.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: #b31647;
/* rgb */ color: rgb(179, 22, 71);
/* oklch */ color: oklch(49.8% 0.187 11.2);
Tailwind
colors: {
  custom: {
    50: '#d16979',
    500: '#b31647',
    950: '#000000',
  },
}
SCSS
$custom: #b31647;
$custom-light: #d16979;
$custom-dark: #000000;
JSON
{
  "hex": "#b31647",
  "rgb": {
    "r": 179,
    "g": 22,
    "b": 71
  },
  "hsl": {
    "h": 341.274,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49758,
    "c": 0.18731,
    "h": 11.2
  },
  "luminance": 0.10612
}

Semantic roles & 50–950 ramp

primary
#B31647
secondary
#57CEA9
accent
#F5B833
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150709
muted
#837A7B

Preview Lab

Preview with #B31647

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

Preview Lab → · Contrast checker → · Palette generator →

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