#B31846#B31846

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

Color values

HEX#B31846
RGBrgb(179, 24, 70)
HSLhsl(342, 76%, 40%)
HSVhsv(342, 87%, 70%)
CMYKcmyk(0%, 86.6%, 60.9%, 29.8%)
CIE-LABlab(39.04, 60.28, 15.54)
CIE-LCHlch(39.04, 62.25, 14.46°)
OKLaboklab(49.84% 0.1821 0.0383)
OKLCHoklch(49.84% 0.186 11.9)
XYZxyz(20.0247, 10.6823, 6.8007)
Luminance0.1068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31846 #18B385
analogous
#B31893 #B31846 #B33818
triadic
#B31846 #46B318 #1846B3
tetradic
#B31846 #93B318 #18B385 #3818B3
square
#B31846 #93B318 #18B385 #3818B3
split-complementary
#B31846 #18B338 #1893B3
monochromatic
#470A1C #7D1131 #B31846 #E2265E #E95C86

Accessibility & contrast

On white

6.70
#B31846 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31846
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31846#FFFFFF#000000##FFFFFF
##B318461.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.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: #b31846;
/* rgb */ color: rgb(179, 24, 70);
/* oklch */ color: oklch(49.8% 0.186 11.9);
Tailwind
colors: {
  custom: {
    50: '#d16a79',
    500: '#b31846',
    950: '#000000',
  },
}
SCSS
$custom: #b31846;
$custom-light: #d16a79;
$custom-dark: #000000;
JSON
{
  "hex": "#b31846",
  "rgb": {
    "r": 179,
    "g": 24,
    "b": 70
  },
  "hsl": {
    "h": 342.194,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49835,
    "c": 0.18604,
    "h": 11.9
  },
  "luminance": 0.10679
}

Semantic roles & 50–950 ramp

primary
#B31846
secondary
#5ACDAB
accent
#F3BB35
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B

Preview Lab

Preview with #B31846

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

Preview Lab → · Contrast checker → · Palette generator →

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