#931978#931978

#931978 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 46.0% C 0.182 H 339.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#931978
RGBrgb(147, 25, 120)
HSLhsl(313, 71%, 34%)
HSVhsv(313, 83%, 58%)
CMYKcmyk(0%, 83%, 18.4%, 42.4%)
CIE-LABlab(34.51, 57.04, -23.74)
CIE-LCHlch(34.51, 61.78, 337.40°)
OKLaboklab(45.97% 0.1701 -0.0643)
OKLCHoklch(45.97% 0.182 339.3)
XYZxyz(15.7709, 8.2560, 18.5287)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931978 #199334
analogous
#711993 #931978 #93193B
triadic
#931978 #789319 #197893
tetradic
#931978 #937119 #199334 #193B93
square
#931978 #937119 #199334 #193B93
split-complementary
#931978 #3B9319 #199371
monochromatic
#2A0723 #5F104D #931978 #C722A3 #E047BE

Accessibility & contrast

On white

7.92
#931978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#931978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931978
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931978#FFFFFF#000000##FFFFFF
##9319781.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22457A
Deuteranopia (green-blind)
#4C5875
Tritanopia (blue-blind)
#9C1F48
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #931978;
/* rgb */ color: rgb(147, 25, 120);
/* oklch */ color: oklch(46.0% 0.182 339.3);
Tailwind
colors: {
  custom: {
    50: '#b7669f',
    500: '#931978',
    950: '#000000',
  },
}
SCSS
$custom: #931978;
$custom-light: #b7669f;
$custom-dark: #000000;
JSON
{
  "hex": "#931978",
  "rgb": {
    "r": 147,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 313.279,
    "s": 70.93,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45967,
    "c": 0.18181,
    "h": 339.3
  },
  "luminance": 0.08254
}

Semantic roles & 50–950 ramp

primary
#931978
secondary
#47C162
accent
#EE623A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #931978

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

Preview Lab → · Contrast checker → · Palette generator →

#931978 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva