#B31946#B31946

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

Color values

HEX#B31946
RGBrgb(179, 25, 70)
HSLhsl(342, 75%, 40%)
HSVhsv(342, 86%, 70%)
CMYKcmyk(0%, 86%, 60.9%, 29.8%)
CIE-LABlab(39.11, 60.07, 15.64)
CIE-LCHlch(39.11, 62.07, 14.60°)
OKLaboklab(49.89% 0.1814 0.0385)
OKLCHoklch(49.89% 0.185 12)
XYZxyz(20.0457, 10.7243, 6.8077)
Luminance0.1072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31946 #19B386
analogous
#B31993 #B31946 #B33919
triadic
#B31946 #46B319 #1946B3
tetradic
#B31946 #93B319 #19B386 #3919B3
square
#B31946 #93B319 #19B386 #3919B3
split-complementary
#B31946 #19B339 #1993B3
monochromatic
#480A1C #7D1231 #B31946 #E1285E #E85E86

Accessibility & contrast

On white

6.68
#B31946 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#B31946 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31946
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31946#FFFFFF#000000##FFFFFF
##B319461.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31946;
/* rgb */ color: rgb(179, 25, 70);
/* oklch */ color: oklch(49.9% 0.185 12.0);
Tailwind
colors: {
  custom: {
    50: '#d16a79',
    500: '#b31946',
    950: '#000000',
  },
}
SCSS
$custom: #b31946;
$custom-light: #d16a79;
$custom-dark: #000000;
JSON
{
  "hex": "#b31946",
  "rgb": {
    "r": 179,
    "g": 25,
    "b": 70
  },
  "hsl": {
    "h": 342.468,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.49888,
    "c": 0.18543,
    "h": 12
  },
  "luminance": 0.10721
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B31946

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

Preview Lab → · Contrast checker → · Palette generator →

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