#B31C91#B31C91

#B31C91 is a mid, highly saturated pink. Relative luminance 0.125; OKLCH L 52.8% C 0.213 H 339.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#B31C91
RGBrgb(179, 28, 145)
HSLhsl(314, 73%, 41%)
HSVhsv(314, 84%, 70%)
CMYKcmyk(0%, 84.4%, 19%, 29.8%)
CIE-LABlab(41.94, 66.80, -27.16)
CIE-LCHlch(41.94, 72.11, 337.87°)
OKLaboklab(52.79% 0.1997 -0.0735)
OKLCHoklch(52.79% 0.213 339.8)
XYZxyz(24.1172, 12.4611, 27.9177)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C91 #1CB33E
analogous
#891CB3 #B31C91 #B31C45
triadic
#B31C91 #91B31C #1C91B3
tetradic
#B31C91 #B3891C #1CB33E #1C45B3
square
#B31C91 #B3891C #1CB33E #1C45B3
split-complementary
#B31C91 #45B31C #1CB389
monochromatic
#490B3B #7E1466 #B31C91 #DE2EB7 #E763C9

Accessibility & contrast

On white

6.01
#B31C91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B31C91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31C91
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C91#FFFFFF#000000##FFFFFF
##B31C911.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5494
Deuteranopia (green-blind)
#5E6B8E
Tritanopia (blue-blind)
#BE2457
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b31c91;
/* rgb */ color: rgb(179, 28, 145);
/* oklch */ color: oklch(52.8% 0.213 339.8);
Tailwind
colors: {
  custom: {
    50: '#ce6eb1',
    500: '#b31c91',
    950: '#000000',
  },
}
SCSS
$custom: #b31c91;
$custom-light: #ce6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c91",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 313.51,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5279,
    "c": 0.21282,
    "h": 339.8
  },
  "luminance": 0.12459
}

Semantic roles & 50–950 ramp

primary
#B31C91
secondary
#5FCB78
accent
#F06138
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140811
muted
#837B80

Preview Lab

Preview with #B31C91

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

Preview Lab → · Contrast checker → · Palette generator →

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