#931E71#931E71

#931E71 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 46.0% C 0.173 H 342.7°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#931E71
RGBrgb(147, 30, 113)
HSLhsl(317, 66%, 35%)
HSVhsv(317, 80%, 58%)
CMYKcmyk(0%, 79.6%, 23.1%, 42.4%)
CIE-LABlab(34.65, 54.72, -19.11)
CIE-LCHlch(34.65, 57.96, 340.75°)
OKLaboklab(45.96% 0.1649 -0.0512)
OKLCHoklch(45.96% 0.173 342.7)
XYZxyz(15.4781, 8.3255, 16.4114)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931E71 #1E9340
analogous
#7B1E93 #931E71 #931E36
triadic
#931E71 #71931E #1E7193
tetradic
#931E71 #937B1E #1E9340 #1E3693
square
#931E71 #937B1E #1E9340 #1E3693
split-complementary
#931E71 #36931E #1E937B
monochromatic
#2D0923 #60144A #931E71 #C62898 #DB50B3

Accessibility & contrast

On white

7.88
#931E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#931E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931E71
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931E71#FFFFFF#000000##FFFFFF
##931E711.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4573
Deuteranopia (green-blind)
#50586E
Tritanopia (blue-blind)
#9D1F46
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #931e71;
/* rgb */ color: rgb(147, 30, 113);
/* oklch */ color: oklch(46.0% 0.173 342.7);
Tailwind
colors: {
  custom: {
    50: '#b7689a',
    500: '#931e71',
    950: '#000000',
  },
}
SCSS
$custom: #931e71;
$custom-light: #b7689a;
$custom-dark: #000000;
JSON
{
  "hex": "#931e71",
  "rgb": {
    "r": 147,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 317.436,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45961,
    "c": 0.17272,
    "h": 342.7
  },
  "luminance": 0.08324
}

Semantic roles & 50–950 ramp

primary
#931E71
secondary
#4FBE6F
accent
#E9703F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #931E71

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

Preview Lab → · Contrast checker → · Palette generator →

#931E71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva