#B31C56#B31C56

#B31C56 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.186 H 5.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#B31C56
RGBrgb(179, 28, 86)
HSLhsl(337, 73%, 41%)
HSVhsv(337, 84%, 70%)
CMYKcmyk(0%, 84.4%, 52%, 29.8%)
CIE-LABlab(39.73, 60.55, 6.29)
CIE-LCHlch(39.73, 60.87, 5.93°)
OKLaboklab(50.47% 0.1854 0.0165)
OKLCHoklch(50.47% 0.186 5.1)
XYZxyz(20.6873, 11.0891, 9.8534)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C56 #1CB379
analogous
#B31CA1 #B31C56 #B32E1C
triadic
#B31C56 #56B31C #1C56B3
tetradic
#B31C56 #A1B31C #1CB379 #2E1CB3
square
#B31C56 #A1B31C #1CB379 #2E1CB3
split-complementary
#B31C56 #1CB32E #1CA1B3
monochromatic
#490B23 #7E143D #B31C56 #DE2E72 #E76395

Accessibility & contrast

On white

6.53
#B31C56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#B31C56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31C56
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C56#FFFFFF#000000##FFFFFF
##B31C561.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464B57
Deuteranopia (green-blind)
#6D6852
Tritanopia (blue-blind)
#C30037
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31c56;
/* rgb */ color: rgb(179, 28, 86);
/* oklch */ color: oklch(50.5% 0.186 5.1);
Tailwind
colors: {
  custom: {
    50: '#d06b85',
    500: '#b31c56',
    950: '#000000',
  },
}
SCSS
$custom: #b31c56;
$custom-light: #d06b85;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c56",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 86
  },
  "hsl": {
    "h": 336.954,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50468,
    "c": 0.18609,
    "h": 5.1
  },
  "luminance": 0.11086
}

Semantic roles & 50–950 ramp

primary
#B31C56
secondary
#5FCBA2
accent
#F0A938
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B31C56

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

Preview Lab → · Contrast checker → · Palette generator →

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