#B31993#B31993

#B31993 is a mid, highly saturated pink. Relative luminance 0.124; OKLCH L 52.7% C 0.216 H 339.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B31993
RGBrgb(179, 25, 147)
HSLhsl(312, 75%, 40%)
HSVhsv(312, 86%, 70%)
CMYKcmyk(0%, 86%, 17.9%, 29.8%)
CIE-LABlab(41.83, 67.68, -28.56)
CIE-LCHlch(41.83, 73.45, 337.12°)
OKLaboklab(52.74% 0.2018 -0.0775)
OKLCHoklch(52.74% 0.216 339)
XYZxyz(24.2052, 12.3881, 28.7145)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31993 #19B339
analogous
#8619B3 #B31993 #B31946
triadic
#B31993 #93B319 #1993B3
tetradic
#B31993 #B38619 #19B339 #1946B3
square
#B31993 #B38619 #19B339 #1946B3
split-complementary
#B31993 #46B319 #19B386
monochromatic
#480A3B #7D1267 #B31993 #E128BB #E85ECC

Accessibility & contrast

On white

6.04
#B31993 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B31993 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31993
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31993#FFFFFF#000000##FFFFFF
##B319931.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265496
Deuteranopia (green-blind)
#5C6B90
Tritanopia (blue-blind)
#BE2358
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b31993;
/* rgb */ color: rgb(179, 25, 147);
/* oklch */ color: oklch(52.7% 0.216 339.0);
Tailwind
colors: {
  custom: {
    50: '#ce6db3',
    500: '#b31993',
    950: '#000000',
  },
}
SCSS
$custom: #b31993;
$custom-light: #ce6db3;
$custom-dark: #000000;
JSON
{
  "hex": "#b31993",
  "rgb": {
    "r": 179,
    "g": 25,
    "b": 147
  },
  "hsl": {
    "h": 312.468,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.5274,
    "c": 0.21612,
    "h": 339
  },
  "luminance": 0.12386
}

Semantic roles & 50–950 ramp

primary
#B31993
secondary
#5BCC73
accent
#F25D36
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B31993

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

Preview Lab → · Contrast checker → · Palette generator →

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