#B31C55#B31C55

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

Color values

HEX#B31C55
RGBrgb(179, 28, 85)
HSLhsl(337, 73%, 41%)
HSVhsv(337, 84%, 70%)
CMYKcmyk(0%, 84.4%, 52.5%, 29.8%)
CIE-LABlab(39.70, 60.47, 6.89)
CIE-LCHlch(39.70, 60.86, 6.50°)
OKLaboklab(50.44% 0.185 0.018)
OKLCHoklch(50.44% 0.186 5.5)
XYZxyz(20.6473, 11.0731, 9.6427)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C55 #1CB37A
analogous
#B31CA0 #B31C55 #B32E1C
triadic
#B31C55 #55B31C #1C55B3
tetradic
#B31C55 #A0B31C #1CB37A #2E1CB3
square
#B31C55 #A0B31C #1CB37A #2E1CB3
split-complementary
#B31C55 #1CB32E #1CA0B3
monochromatic
#490B23 #7E143C #B31C55 #DE2E70 #E76395

Accessibility & contrast

On white

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

On black

3.21
#B31C55 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B31C55#FFFFFF#000000##FFFFFF
##B31C551.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474B56
Deuteranopia (green-blind)
#6E6851
Tritanopia (blue-blind)
#C30037
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31c55;
/* rgb */ color: rgb(179, 28, 85);
/* oklch */ color: oklch(50.4% 0.186 5.5);
Tailwind
colors: {
  custom: {
    50: '#d06b84',
    500: '#b31c55',
    950: '#000000',
  },
}
SCSS
$custom: #b31c55;
$custom-light: #d06b84;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c55",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 85
  },
  "hsl": {
    "h": 337.351,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5044,
    "c": 0.18586,
    "h": 5.5
  },
  "luminance": 0.1107
}

Semantic roles & 50–950 ramp

primary
#B31C55
secondary
#5FCBA3
accent
#F0AA38
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B31C55

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

Preview Lab → · Contrast checker → · Palette generator →

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