#B31856#B31856

#B31856 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.189 H 4.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#B31856
RGBrgb(179, 24, 86)
HSLhsl(336, 76%, 40%)
HSVhsv(336, 87%, 70%)
CMYKcmyk(0%, 86.6%, 52%, 29.8%)
CIE-LABlab(39.43, 61.40, 5.87)
CIE-LCHlch(39.43, 61.68, 5.46°)
OKLaboklab(50.25% 0.1881 0.0155)
OKLCHoklch(50.25% 0.189 4.7)
XYZxyz(20.5987, 10.9119, 9.8238)
Luminance0.1091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31856 #18B375
analogous
#B318A4 #B31856 #B32718
triadic
#B31856 #56B318 #1856B3
tetradic
#B31856 #A4B318 #18B375 #2718B3
square
#B31856 #A4B318 #18B375 #2718B3
split-complementary
#B31856 #18B327 #18A4B3
monochromatic
#470A22 #7D113C #B31856 #E22671 #E95C95

Accessibility & contrast

On white

6.60
#B31856 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#B31856 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31856
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31856#FFFFFF#000000##FFFFFF
##B318561.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454A57
Deuteranopia (green-blind)
#6D6752
Tritanopia (blue-blind)
#C30036
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31856;
/* rgb */ color: rgb(179, 24, 86);
/* oklch */ color: oklch(50.2% 0.189 4.7);
Tailwind
colors: {
  custom: {
    50: '#d06a85',
    500: '#b31856',
    950: '#000000',
  },
}
SCSS
$custom: #b31856;
$custom-light: #d06a85;
$custom-dark: #000000;
JSON
{
  "hex": "#b31856",
  "rgb": {
    "r": 179,
    "g": 24,
    "b": 86
  },
  "hsl": {
    "h": 336,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50249,
    "c": 0.18877,
    "h": 4.7
  },
  "luminance": 0.10909
}

Semantic roles & 50–950 ramp

primary
#B31856
secondary
#5ACD9F
accent
#F3A735
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080B
muted
#837A7C

Preview Lab

Preview with #B31856

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

Preview Lab → · Contrast checker → · Palette generator →

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