#931B7C#931B7C

#931B7C is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.3% C 0.183 H 337.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#931B7C
RGBrgb(147, 27, 124)
HSLhsl(312, 69%, 34%)
HSVhsv(312, 82%, 58%)
CMYKcmyk(0%, 81.6%, 15.6%, 42.4%)
CIE-LABlab(34.89, 57.08, -25.66)
CIE-LCHlch(34.89, 62.59, 335.80°)
OKLaboklab(46.31% 0.1689 -0.0698)
OKLCHoklch(46.31% 0.183 337.5)
XYZxyz(16.0630, 8.4437, 19.8487)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931B7C #1B9332
analogous
#6E1B93 #931B7C #931B40
triadic
#931B7C #7C931B #1B7C93
tetradic
#931B7C #936E1B #1B9332 #1B4093
square
#931B7C #936E1B #1B9332 #1B4093
split-complementary
#931B7C #40931B #1B936E
monochromatic
#2C0825 #5F1250 #931B7C #C724A8 #DE4BC2

Accessibility & contrast

On white

7.81
#931B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #931B7C
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931B7C#FFFFFF#000000##FFFFFF
##931B7C1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20467E
Deuteranopia (green-blind)
#4B5879
Tritanopia (blue-blind)
#9B234B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #931b7c;
/* rgb */ color: rgb(147, 27, 124);
/* oklch */ color: oklch(46.3% 0.183 337.5);
Tailwind
colors: {
  custom: {
    50: '#b767a2',
    500: '#931b7c',
    950: '#000000',
  },
}
SCSS
$custom: #931b7c;
$custom-light: #b767a2;
$custom-dark: #000000;
JSON
{
  "hex": "#931b7c",
  "rgb": {
    "r": 147,
    "g": 27,
    "b": 124
  },
  "hsl": {
    "h": 311.5,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46305,
    "c": 0.18274,
    "h": 337.5
  },
  "luminance": 0.08442
}

Semantic roles & 50–950 ramp

primary
#931B7C
secondary
#4AC061
accent
#EC5E3C
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #931B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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