#931B7A#931B7A

#931B7A is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.2% C 0.181 H 338.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#931B7A
RGBrgb(147, 27, 122)
HSLhsl(313, 69%, 34%)
HSVhsv(313, 82%, 58%)
CMYKcmyk(0%, 81.6%, 17%, 42.4%)
CIE-LABlab(34.79, 56.80, -24.56)
CIE-LCHlch(34.79, 61.88, 336.61°)
OKLaboklab(46.2% 0.1687 -0.0667)
OKLCHoklch(46.2% 0.181 338.4)
XYZxyz(15.9378, 8.3936, 19.1894)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931B7A #1B9334
analogous
#701B93 #931B7A #931B3E
triadic
#931B7A #7A931B #1B7A93
tetradic
#931B7A #93701B #1B9334 #1B3E93
square
#931B7A #93701B #1B9334 #1B3E93
split-complementary
#931B7A #3E931B #1B9370
monochromatic
#2C0824 #5F124F #931B7A #C724A5 #DE4BBF

Accessibility & contrast

On white

7.84
#931B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #931B7A
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931B7A#FFFFFF#000000##FFFFFF
##931B7A1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22467C
Deuteranopia (green-blind)
#4C5877
Tritanopia (blue-blind)
#9C224A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #931b7a;
/* rgb */ color: rgb(147, 27, 122);
/* oklch */ color: oklch(46.2% 0.181 338.4);
Tailwind
colors: {
  custom: {
    50: '#b767a0',
    500: '#931b7a',
    950: '#000000',
  },
}
SCSS
$custom: #931b7a;
$custom-light: #b767a0;
$custom-dark: #000000;
JSON
{
  "hex": "#931b7a",
  "rgb": {
    "r": 147,
    "g": 27,
    "b": 122
  },
  "hsl": {
    "h": 312.5,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.462,
    "c": 0.18139,
    "h": 338.4
  },
  "luminance": 0.08392
}

Semantic roles & 50–950 ramp

primary
#931B7A
secondary
#4AC063
accent
#EC613C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #931B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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