#931B7D#931B7D

#931B7D is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.4% C 0.183 H 337.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#931B7D
RGBrgb(147, 27, 125)
HSLhsl(311, 69%, 34%)
HSVhsv(311, 82%, 58%)
CMYKcmyk(0%, 81.6%, 15%, 42.4%)
CIE-LABlab(34.94, 57.23, -26.21)
CIE-LCHlch(34.94, 62.94, 335.40°)
OKLaboklab(46.36% 0.169 -0.0714)
OKLCHoklch(46.36% 0.183 337.1)
XYZxyz(16.1266, 8.4691, 20.1835)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931B7D #1B9331
analogous
#6D1B93 #931B7D #931B41
triadic
#931B7D #7D931B #1B7D93
tetradic
#931B7D #936D1B #1B9331 #1B4193
square
#931B7D #936D1B #1B9331 #1B4193
split-complementary
#931B7D #41931B #1B936D
monochromatic
#2C0825 #5F1251 #931B7D #C724A9 #DE4BC3

Accessibility & contrast

On white

7.80
#931B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#931B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931B7D
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931B7D#FFFFFF#000000##FFFFFF
##931B7D1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4780
Deuteranopia (green-blind)
#4B597A
Tritanopia (blue-blind)
#9B244B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #931b7d;
/* rgb */ color: rgb(147, 27, 125);
/* oklch */ color: oklch(46.4% 0.183 337.1);
Tailwind
colors: {
  custom: {
    50: '#b767a3',
    500: '#931b7d',
    950: '#000000',
  },
}
SCSS
$custom: #931b7d;
$custom-light: #b767a3;
$custom-dark: #000000;
JSON
{
  "hex": "#931b7d",
  "rgb": {
    "r": 147,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 311,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46358,
    "c": 0.18341,
    "h": 337.1
  },
  "luminance": 0.08468
}

Semantic roles & 50–950 ramp

primary
#931B7D
secondary
#4AC060
accent
#EC5C3C
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #931B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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