#B31C57#B31C57

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

Color values

HEX#B31C57
RGBrgb(179, 28, 87)
HSLhsl(337, 73%, 41%)
HSVhsv(337, 84%, 70%)
CMYKcmyk(0%, 84.4%, 51.4%, 29.8%)
CIE-LABlab(39.76, 60.63, 5.70)
CIE-LCHlch(39.76, 60.89, 5.37°)
OKLaboklab(50.5% 0.1857 0.015)
OKLCHoklch(50.5% 0.186 4.6)
XYZxyz(20.7279, 11.1053, 10.0671)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C57 #1CB378
analogous
#B31CA2 #B31C57 #B32C1C
triadic
#B31C57 #57B31C #1C57B3
tetradic
#B31C57 #A2B31C #1CB378 #2C1CB3
square
#B31C57 #A2B31C #1CB378 #2C1CB3
split-complementary
#B31C57 #1CB32C #1CA2B3
monochromatic
#490B24 #7E143D #B31C57 #DE2E73 #E76396

Accessibility & contrast

On white

6.52
#B31C57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31C57
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C57#FFFFFF#000000##FFFFFF
##B31C571.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464B58
Deuteranopia (green-blind)
#6D6853
Tritanopia (blue-blind)
#C30038
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31c57;
/* rgb */ color: rgb(179, 28, 87);
/* oklch */ color: oklch(50.5% 0.186 4.6);
Tailwind
colors: {
  custom: {
    50: '#d06c86',
    500: '#b31c57',
    950: '#000000',
  },
}
SCSS
$custom: #b31c57;
$custom-light: #d06c86;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c57",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 87
  },
  "hsl": {
    "h": 336.556,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50497,
    "c": 0.18633,
    "h": 4.6
  },
  "luminance": 0.11102
}

Semantic roles & 50–950 ramp

primary
#B31C57
secondary
#5FCBA1
accent
#F0A838
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B31C57

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

Preview Lab → · Contrast checker → · Palette generator →

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