#B31C59#B31C59

#B31C59 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.6% C 0.187 H 3.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#B31C59
RGBrgb(179, 28, 89)
HSLhsl(336, 73%, 41%)
HSVhsv(336, 84%, 70%)
CMYKcmyk(0%, 84.4%, 50.3%, 29.8%)
CIE-LABlab(39.81, 60.79, 4.50)
CIE-LCHlch(39.81, 60.95, 4.24°)
OKLaboklab(50.56% 0.1864 0.0121)
OKLCHoklch(50.56% 0.187 3.7)
XYZxyz(20.8107, 11.1385, 10.5034)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C59 #1CB376
analogous
#B31CA4 #B31C59 #B32B1C
triadic
#B31C59 #59B31C #1C59B3
tetradic
#B31C59 #A4B31C #1CB376 #2B1CB3
square
#B31C59 #A4B31C #1CB376 #2B1CB3
split-complementary
#B31C59 #1CB32B #1CA4B3
monochromatic
#490B24 #7E143F #B31C59 #DE2E75 #E76398

Accessibility & contrast

On white

6.51
#B31C59 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#B31C59 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31C59
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C59#FFFFFF#000000##FFFFFF
##B31C591.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464B5A
Deuteranopia (green-blind)
#6D6856
Tritanopia (blue-blind)
#C30039
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31c59;
/* rgb */ color: rgb(179, 28, 89);
/* oklch */ color: oklch(50.6% 0.187 3.7);
Tailwind
colors: {
  custom: {
    50: '#d06c87',
    500: '#b31c59',
    950: '#000000',
  },
}
SCSS
$custom: #b31c59;
$custom-light: #d06c87;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c59",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 89
  },
  "hsl": {
    "h": 335.762,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50555,
    "c": 0.18683,
    "h": 3.7
  },
  "luminance": 0.11135
}

Semantic roles & 50–950 ramp

primary
#B31C59
secondary
#5FCBA0
accent
#F0A638
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B31C59

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

Preview Lab → · Contrast checker → · Palette generator →

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