#B31956#B31956

#B31956 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.188 H 4.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#B31956
RGBrgb(179, 25, 86)
HSLhsl(336, 75%, 40%)
HSVhsv(336, 86%, 70%)
CMYKcmyk(0%, 86%, 52%, 29.8%)
CIE-LABlab(39.50, 61.20, 5.97)
CIE-LCHlch(39.50, 61.49, 5.57°)
OKLaboklab(50.3% 0.1875 0.0157)
OKLCHoklch(50.3% 0.188 4.8)
XYZxyz(20.6197, 10.9539, 9.8308)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31956 #19B376
analogous
#B319A3 #B31956 #B32919
triadic
#B31956 #56B319 #1956B3
tetradic
#B31956 #A3B319 #19B376 #2919B3
square
#B31956 #A3B319 #19B376 #2919B3
split-complementary
#B31956 #19B329 #19A3B3
monochromatic
#480A22 #7D123C #B31956 #E12871 #E85E95

Accessibility & contrast

On white

6.58
#B31956 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#B31956 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31956
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31956#FFFFFF#000000##FFFFFF
##B319561.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31956;
/* rgb */ color: rgb(179, 25, 86);
/* oklch */ color: oklch(50.3% 0.188 4.8);
Tailwind
colors: {
  custom: {
    50: '#d06b85',
    500: '#b31956',
    950: '#000000',
  },
}
SCSS
$custom: #b31956;
$custom-light: #d06b85;
$custom-dark: #000000;
JSON
{
  "hex": "#b31956",
  "rgb": {
    "r": 179,
    "g": 25,
    "b": 86
  },
  "hsl": {
    "h": 336.234,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.50301,
    "c": 0.18813,
    "h": 4.8
  },
  "luminance": 0.10951
}

Semantic roles & 50–950 ramp

primary
#B31956
secondary
#5BCCA0
accent
#F2A736
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080B
muted
#837A7C

Preview Lab

Preview with #B31956

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

Preview Lab → · Contrast checker → · Palette generator →

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