#B31C92#B31C92

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

Color values

HEX#B31C92
RGBrgb(179, 28, 146)
HSLhsl(313, 73%, 41%)
HSVhsv(313, 84%, 70%)
CMYKcmyk(0%, 84.4%, 18.4%, 29.8%)
CIE-LABlab(41.99, 66.94, -27.70)
CIE-LCHlch(41.99, 72.44, 337.52°)
OKLaboklab(52.84% 0.1998 -0.0751)
OKLCHoklch(52.84% 0.213 339.4)
XYZxyz(24.1947, 12.4920, 28.3256)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C92 #1CB33D
analogous
#891CB3 #B31C92 #B31C46
triadic
#B31C92 #92B31C #1C92B3
tetradic
#B31C92 #B3891C #1CB33D #1C46B3
square
#B31C92 #B3891C #1CB33D #1C46B3
split-complementary
#B31C92 #46B31C #1CB389
monochromatic
#490B3C #7E1467 #B31C92 #DE2EB8 #E763CA

Accessibility & contrast

On white

6.00
#B31C92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31C92
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C92#FFFFFF#000000##FFFFFF
##B31C921.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295495
Deuteranopia (green-blind)
#5D6B8F
Tritanopia (blue-blind)
#BE2458
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b31c92;
/* rgb */ color: rgb(179, 28, 146);
/* oklch */ color: oklch(52.8% 0.213 339.4);
Tailwind
colors: {
  custom: {
    50: '#ce6eb2',
    500: '#b31c92',
    950: '#000000',
  },
}
SCSS
$custom: #b31c92;
$custom-light: #ce6eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c92",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 146
  },
  "hsl": {
    "h": 313.113,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5284,
    "c": 0.21344,
    "h": 339.4
  },
  "luminance": 0.1249
}

Semantic roles & 50–950 ramp

primary
#B31C92
secondary
#5FCB77
accent
#F06038
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B31C92

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

Preview Lab → · Contrast checker → · Palette generator →

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