#893171#893171

#893171 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.2% C 0.142 H 339.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#893171
RGBrgb(137, 49, 113)
HSLhsl(316, 47%, 36%)
HSVhsv(316, 64%, 54%)
CMYKcmyk(0%, 64.2%, 17.5%, 46.3%)
CIE-LABlab(35.42, 44.90, -18.07)
CIE-LCHlch(35.42, 48.40, 338.08°)
OKLaboklab(46.18% 0.1331 -0.0486)
OKLCHoklch(46.18% 0.142 339.9)
XYZxyz(14.3958, 8.7085, 16.5423)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893171 #318949
analogous
#753189 #893171 #893145
triadic
#893171 #718931 #317189
tetradic
#893171 #897531 #318949 #314589
square
#893171 #897531 #318949 #314589
split-complementary
#893171 #458931 #318975
monochromatic
#2F1127 #5C214C #893171 #B64196 #CA6BB0

Accessibility & contrast

On white

7.66
#893171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#893171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #893171
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893171#FFFFFF#000000##FFFFFF
##8931711.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364A73
Deuteranopia (green-blind)
#50586F
Tritanopia (blue-blind)
#91334C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #893171;
/* rgb */ color: rgb(137, 49, 113);
/* oklch */ color: oklch(46.2% 0.142 339.9);
Tailwind
colors: {
  custom: {
    50: '#ae6f9a',
    500: '#893171',
    950: '#000000',
  },
}
SCSS
$custom: #893171;
$custom-light: #ae6f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#893171",
  "rgb": {
    "r": 137,
    "g": 49,
    "b": 113
  },
  "hsl": {
    "h": 316.364,
    "s": 47.312,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46181,
    "c": 0.14174,
    "h": 339.9
  },
  "luminance": 0.08707
}

Semantic roles & 50–950 ramp

primary
#893171
secondary
#64B179
accent
#D77551
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #893171

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

Preview Lab → · Contrast checker → · Palette generator →

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