#B31693#B31693

#B31693 is a mid, highly saturated pink. Relative luminance 0.123; OKLCH L 52.6% C 0.218 H 338.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B31693
RGBrgb(179, 22, 147)
HSLhsl(312, 78%, 39%)
HSVhsv(312, 88%, 70%)
CMYKcmyk(0%, 87.7%, 17.9%, 29.8%)
CIE-LABlab(41.64, 68.23, -28.85)
CIE-LCHlch(41.64, 74.08, 337.08°)
OKLaboklab(52.61% 0.2034 -0.0783)
OKLCHoklch(52.61% 0.218 338.9)
XYZxyz(24.1445, 12.2666, 28.6943)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31693 #16B336
analogous
#8416B3 #B31693 #B31645
triadic
#B31693 #93B316 #1693B3
tetradic
#B31693 #B38416 #16B336 #1645B3
square
#B31693 #B38416 #16B336 #1645B3
split-complementary
#B31693 #45B316 #16B384
monochromatic
#460939 #7C0F66 #B31693 #E422BC #EB59CD

Accessibility & contrast

On white

6.08
#B31693 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B31693 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31693
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31693#FFFFFF#000000##FFFFFF
##B316931.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245396
Deuteranopia (green-blind)
#5C6A90
Tritanopia (blue-blind)
#BE2157
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b31693;
/* rgb */ color: rgb(179, 22, 147);
/* oklch */ color: oklch(52.6% 0.218 338.9);
Tailwind
colors: {
  custom: {
    50: '#ce6cb3',
    500: '#b31693',
    950: '#000000',
  },
}
SCSS
$custom: #b31693;
$custom-light: #ce6cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#b31693",
  "rgb": {
    "r": 179,
    "g": 22,
    "b": 147
  },
  "hsl": {
    "h": 312.229,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.52605,
    "c": 0.21799,
    "h": 338.9
  },
  "luminance": 0.12264
}

Semantic roles & 50–950 ramp

primary
#B31693
secondary
#57CE6F
accent
#F55B33
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B31693

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

Preview Lab → · Contrast checker → · Palette generator →

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