#931F71#931F71

#931F71 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.172 H 342.8°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#931F71
RGBrgb(147, 31, 113)
HSLhsl(318, 65%, 35%)
HSVhsv(318, 79%, 58%)
CMYKcmyk(0%, 78.9%, 23.1%, 42.4%)
CIE-LABlab(34.76, 54.42, -18.95)
CIE-LCHlch(34.76, 57.62, 340.80°)
OKLaboklab(46.04% 0.164 -0.0508)
OKLCHoklch(46.04% 0.172 342.8)
XYZxyz(15.5038, 8.3769, 16.4200)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931F71 #1F9341
analogous
#7B1F93 #931F71 #931F37
triadic
#931F71 #71931F #1F7193
tetradic
#931F71 #937B1F #1F9341 #1F3793
square
#931F71 #937B1F #1F9341 #1F3793
split-complementary
#931F71 #37931F #1F937B
monochromatic
#2E0A23 #60144A #931F71 #C62A98 #DA52B2

Accessibility & contrast

On white

7.85
#931F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#931F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931F71
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931F71#FFFFFF#000000##FFFFFF
##931F711.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4673
Deuteranopia (green-blind)
#51596E
Tritanopia (blue-blind)
#9D2046
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #931f71;
/* rgb */ color: rgb(147, 31, 113);
/* oklch */ color: oklch(46.0% 0.172 342.8);
Tailwind
colors: {
  custom: {
    50: '#b7689a',
    500: '#931f71',
    950: '#000000',
  },
}
SCSS
$custom: #931f71;
$custom-light: #b7689a;
$custom-dark: #000000;
JSON
{
  "hex": "#931f71",
  "rgb": {
    "r": 147,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 317.586,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46036,
    "c": 0.1717,
    "h": 342.8
  },
  "luminance": 0.08375
}

Semantic roles & 50–950 ramp

primary
#931F71
secondary
#50BE70
accent
#E87140
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #931F71

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

Preview Lab → · Contrast checker → · Palette generator →

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