#931B7F#931B7F

#931B7F is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.5% C 0.185 H 336.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#931B7F
RGBrgb(147, 27, 127)
HSLhsl(310, 69%, 34%)
HSVhsv(310, 82%, 58%)
CMYKcmyk(0%, 81.6%, 13.6%, 42.4%)
CIE-LABlab(35.04, 57.52, -27.29)
CIE-LCHlch(35.04, 63.67, 334.61°)
OKLaboklab(46.47% 0.1691 -0.0745)
OKLCHoklch(46.47% 0.185 336.2)
XYZxyz(16.2556, 8.5208, 20.8631)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931B7F #1B932F
analogous
#6B1B93 #931B7F #931B43
triadic
#931B7F #7F931B #1B7F93
tetradic
#931B7F #936B1B #1B932F #1B4393
square
#931B7F #936B1B #1B932F #1B4393
split-complementary
#931B7F #43931B #1B936B
monochromatic
#2C0826 #5F1252 #931B7F #C724AC #DE4BC5

Accessibility & contrast

On white

7.77
#931B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#931B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931B7F
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931B7F#FFFFFF#000000##FFFFFF
##931B7F1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4782
Deuteranopia (green-blind)
#4A597C
Tritanopia (blue-blind)
#9B254D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #931b7f;
/* rgb */ color: rgb(147, 27, 127);
/* oklch */ color: oklch(46.5% 0.185 336.2);
Tailwind
colors: {
  custom: {
    50: '#b767a4',
    500: '#931b7f',
    950: '#000000',
  },
}
SCSS
$custom: #931b7f;
$custom-light: #b767a4;
$custom-dark: #000000;
JSON
{
  "hex": "#931b7f",
  "rgb": {
    "r": 147,
    "g": 27,
    "b": 127
  },
  "hsl": {
    "h": 310,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46466,
    "c": 0.18479,
    "h": 336.2
  },
  "luminance": 0.08519
}

Semantic roles & 50–950 ramp

primary
#931B7F
secondary
#4AC05E
accent
#EC593C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #931B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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