#B31C93#B31C93

#B31C93 is a mid, highly saturated pink. Relative luminance 0.125; OKLCH L 52.9% C 0.214 H 339.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B31C93
RGBrgb(179, 28, 147)
HSLhsl(313, 73%, 41%)
HSVhsv(313, 84%, 70%)
CMYKcmyk(0%, 84.4%, 17.9%, 29.8%)
CIE-LABlab(42.04, 67.07, -28.23)
CIE-LCHlch(42.04, 72.77, 337.17°)
OKLaboklab(52.89% 0.1999 -0.0766)
OKLCHoklch(52.89% 0.214 339)
XYZxyz(24.2728, 12.5233, 28.7370)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C93 #1CB33C
analogous
#871CB3 #B31C93 #B31C48
triadic
#B31C93 #93B31C #1C93B3
tetradic
#B31C93 #B3871C #1CB33C #1C48B3
square
#B31C93 #B3871C #1CB33C #1C48B3
split-complementary
#B31C93 #48B31C #1CB387
monochromatic
#490B3C #7E1468 #B31C93 #DE2EB9 #E763CB

Accessibility & contrast

On white

5.99
#B31C93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B31C93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31C93
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C93#FFFFFF#000000##FFFFFF
##B31C931.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285496
Deuteranopia (green-blind)
#5D6B90
Tritanopia (blue-blind)
#BE2559
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b31c93;
/* rgb */ color: rgb(179, 28, 147);
/* oklch */ color: oklch(52.9% 0.214 339.0);
Tailwind
colors: {
  custom: {
    50: '#ce6eb3',
    500: '#b31c93',
    950: '#000000',
  },
}
SCSS
$custom: #b31c93;
$custom-light: #ce6eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c93",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 147
  },
  "hsl": {
    "h": 312.715,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5289,
    "c": 0.21407,
    "h": 339
  },
  "luminance": 0.12521
}

Semantic roles & 50–950 ramp

primary
#B31C93
secondary
#5FCB76
accent
#F05F38
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B31C93

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

Preview Lab → · Contrast checker → · Palette generator →

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