#931878#931878

#931878 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.9% C 0.183 H 339.2°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#931878
RGBrgb(147, 24, 120)
HSLhsl(313, 72%, 34%)
HSVhsv(313, 84%, 58%)
CMYKcmyk(0%, 83.7%, 18.4%, 42.4%)
CIE-LABlab(34.42, 57.28, -23.88)
CIE-LCHlch(34.42, 62.06, 337.37°)
OKLaboklab(45.91% 0.1708 -0.0647)
OKLCHoklch(45.91% 0.183 339.2)
XYZxyz(15.7499, 8.2140, 18.5217)
Luminance0.0821 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931878 #189333
analogous
#701893 #931878 #93183A
triadic
#931878 #789318 #187893
tetradic
#931878 #937018 #189333 #183A93
square
#931878 #937018 #189333 #183A93
split-complementary
#931878 #3A9318 #189370
monochromatic
#2A0722 #5E0F4D #931878 #C821A3 #E145BE

Accessibility & contrast

On white

7.95
#931878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#931878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931878
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931878#FFFFFF#000000##FFFFFF
##9318781.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #931878;
/* rgb */ color: rgb(147, 24, 120);
/* oklch */ color: oklch(45.9% 0.183 339.2);
Tailwind
colors: {
  custom: {
    50: '#b7669f',
    500: '#931878',
    950: '#000000',
  },
}
SCSS
$custom: #931878;
$custom-light: #b7669f;
$custom-dark: #000000;
JSON
{
  "hex": "#931878",
  "rgb": {
    "r": 147,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 313.171,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45906,
    "c": 0.18265,
    "h": 339.2
  },
  "luminance": 0.08212
}

Semantic roles & 50–950 ramp

primary
#931878
secondary
#45C260
accent
#EF6139
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #931878

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

Preview Lab → · Contrast checker → · Palette generator →

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