#893172#893172

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

Color values

HEX#893172
RGBrgb(137, 49, 114)
HSLhsl(316, 47%, 36%)
HSVhsv(316, 64%, 54%)
CMYKcmyk(0%, 64.2%, 16.8%, 46.3%)
CIE-LABlab(35.46, 45.06, -18.63)
CIE-LCHlch(35.46, 48.76, 337.54°)
OKLaboklab(46.23% 0.1333 -0.0502)
OKLCHoklch(46.23% 0.142 339.4)
XYZxyz(14.4524, 8.7312, 16.8404)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893172 #318948
analogous
#743189 #893172 #893146
triadic
#893172 #728931 #317289
tetradic
#893172 #897431 #318948 #314689
square
#893172 #897431 #318948 #314689
split-complementary
#893172 #468931 #318974
monochromatic
#2F1127 #5C214C #893172 #B64198 #CA6BB1

Accessibility & contrast

On white

7.65
#893172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#893172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #893172
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893172#FFFFFF#000000##FFFFFF
##8931721.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354B74
Deuteranopia (green-blind)
#505870
Tritanopia (blue-blind)
#91344D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #893172;
/* rgb */ color: rgb(137, 49, 114);
/* oklch */ color: oklch(46.2% 0.142 339.4);
Tailwind
colors: {
  custom: {
    50: '#ae6f9a',
    500: '#893172',
    950: '#000000',
  },
}
SCSS
$custom: #893172;
$custom-light: #ae6f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#893172",
  "rgb": {
    "r": 137,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 315.682,
    "s": 47.312,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46228,
    "c": 0.14248,
    "h": 339.4
  },
  "luminance": 0.0873
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #893172

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

Preview Lab → · Contrast checker → · Palette generator →

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