#893271#893271

#893271 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.3% C 0.140 H 340.0°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#893271
RGBrgb(137, 50, 113)
HSLhsl(317, 47%, 37%)
HSVhsv(317, 64%, 54%)
CMYKcmyk(0%, 63.5%, 17.5%, 46.3%)
CIE-LABlab(35.58, 44.44, -17.81)
CIE-LCHlch(35.58, 47.88, 338.16°)
OKLaboklab(46.3% 0.1318 -0.0479)
OKLCHoklch(46.3% 0.14 340)
XYZxyz(14.4381, 8.7931, 16.5564)
Luminance0.0879 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893271 #32894A
analogous
#763289 #893271 #893246
triadic
#893271 #718932 #327189
tetradic
#893271 #897632 #32894A #324689
square
#893271 #897632 #32894A #324689
split-complementary
#893271 #468932 #328976
monochromatic
#2F1127 #5C224C #893271 #B64296 #C96CB0

Accessibility & contrast

On white

7.61
#893271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#893271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #893271
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893271#FFFFFF#000000##FFFFFF
##8932711.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374B73
Deuteranopia (green-blind)
#51596F
Tritanopia (blue-blind)
#91344D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #893271;
/* rgb */ color: rgb(137, 50, 113);
/* oklch */ color: oklch(46.3% 0.140 340.0);
Tailwind
colors: {
  custom: {
    50: '#ae709a',
    500: '#893271',
    950: '#000000',
  },
}
SCSS
$custom: #893271;
$custom-light: #ae709a;
$custom-dark: #000000;
JSON
{
  "hex": "#893271",
  "rgb": {
    "r": 137,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 316.552,
    "s": 46.524,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46303,
    "c": 0.14021,
    "h": 340
  },
  "luminance": 0.08792
}

Semantic roles & 50–950 ramp

primary
#893271
secondary
#66B17B
accent
#D67652
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #893271

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

Preview Lab → · Contrast checker → · Palette generator →

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