#B31C63#B31C63

#B31C63 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.9% C 0.190 H 359.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#B31C63
RGBrgb(179, 28, 99)
HSLhsl(332, 73%, 41%)
HSVhsv(332, 84%, 70%)
CMYKcmyk(0%, 84.4%, 44.7%, 29.8%)
CIE-LABlab(40.11, 61.65, -1.40)
CIE-LCHlch(40.11, 61.67, 358.70°)
OKLaboklab(50.87% 0.1898 -0.0029)
OKLCHoklch(50.87% 0.19 359.1)
XYZxyz(21.2595, 11.3180, 12.8671)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C63 #1CB36C
analogous
#B31CAE #B31C63 #B3201C
triadic
#B31C63 #63B31C #1C63B3
tetradic
#B31C63 #AEB31C #1CB36C #201CB3
square
#B31C63 #AEB31C #1CB36C #201CB3
split-complementary
#B31C63 #1CB320 #1CAEB3
monochromatic
#490B28 #7E1446 #B31C63 #DE2E81 #E763A1

Accessibility & contrast

On white

6.44
#B31C63 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#B31C63 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31C63
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C63#FFFFFF#000000##FFFFFF
##B31C631.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434C65
Deuteranopia (green-blind)
#6B6960
Tritanopia (blue-blind)
#C3003E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31c63;
/* rgb */ color: rgb(179, 28, 99);
/* oklch */ color: oklch(50.9% 0.190 359.1);
Tailwind
colors: {
  custom: {
    50: '#d06c8f',
    500: '#b31c63',
    950: '#000000',
  },
}
SCSS
$custom: #b31c63;
$custom-light: #d06c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c63",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 99
  },
  "hsl": {
    "h": 331.788,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50871,
    "c": 0.18985,
    "h": 359.1
  },
  "luminance": 0.11315
}

Semantic roles & 50–950 ramp

primary
#B31C63
secondary
#5FCB99
accent
#F09938
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B31C63

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

Preview Lab → · Contrast checker → · Palette generator →

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