#931871#931871

#931871 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.6% C 0.178 H 342.5°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#931871
RGBrgb(147, 24, 113)
HSLhsl(317, 72%, 34%)
HSVhsv(317, 84%, 58%)
CMYKcmyk(0%, 83.7%, 23.1%, 42.4%)
CIE-LABlab(34.09, 56.34, -19.98)
CIE-LCHlch(34.09, 59.78, 340.47°)
OKLaboklab(45.55% 0.1699 -0.0537)
OKLCHoklch(45.55% 0.178 342.5)
XYZxyz(15.3405, 8.0502, 16.3656)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931871 #18933A
analogous
#771893 #931871 #931834
triadic
#931871 #719318 #187193
tetradic
#931871 #937718 #18933A #183493
square
#931871 #937718 #18933A #183493
split-complementary
#931871 #349318 #189377
monochromatic
#2A0720 #5E0F49 #931871 #C82199 #E145B6

Accessibility & contrast

On white

8.05
#931871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#931871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931871
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931871#FFFFFF#000000##FFFFFF
##9318711.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274473
Deuteranopia (green-blind)
#4F576E
Tritanopia (blue-blind)
#9D1944
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #931871;
/* rgb */ color: rgb(147, 24, 113);
/* oklch */ color: oklch(45.6% 0.178 342.5);
Tailwind
colors: {
  custom: {
    50: '#b7669a',
    500: '#931871',
    950: '#000000',
  },
}
SCSS
$custom: #931871;
$custom-light: #b7669a;
$custom-dark: #000000;
JSON
{
  "hex": "#931871",
  "rgb": {
    "r": 147,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 316.585,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45553,
    "c": 0.1782,
    "h": 342.5
  },
  "luminance": 0.08049
}

Semantic roles & 50–950 ramp

primary
#931871
secondary
#45C268
accent
#EF6B39
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #931871

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

Preview Lab → · Contrast checker → · Palette generator →

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