#8A3270#8A3270

#8A3270 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.4% C 0.140 H 341.0°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#8A3270
RGBrgb(138, 50, 112)
HSLhsl(318, 47%, 37%)
HSVhsv(318, 64%, 54%)
CMYKcmyk(0%, 63.8%, 18.8%, 45.9%)
CIE-LABlab(35.70, 44.59, -16.98)
CIE-LCHlch(35.70, 47.71, 339.15°)
OKLaboklab(46.41% 0.1327 -0.0456)
OKLCHoklch(46.41% 0.14 341)
XYZxyz(14.5468, 8.8556, 16.2693)
Luminance0.0885 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3270 #328A4C
analogous
#78328A #8A3270 #8A3244
triadic
#8A3270 #708A32 #32708A
tetradic
#8A3270 #8A7832 #328A4C #32448A
square
#8A3270 #8A7832 #328A4C #32448A
split-complementary
#8A3270 #448A32 #328A78
monochromatic
#301127 #5D224C #8A3270 #B74294 #CA6CAE

Accessibility & contrast

On white

7.58
#8A3270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8A3270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3270
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3270#FFFFFF#000000##FFFFFF
##8A32701.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384B72
Deuteranopia (green-blind)
#52596E
Tritanopia (blue-blind)
#92334C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a3270;
/* rgb */ color: rgb(138, 50, 112);
/* oklch */ color: oklch(46.4% 0.140 341.0);
Tailwind
colors: {
  custom: {
    50: '#af7099',
    500: '#8a3270',
    950: '#000000',
  },
}
SCSS
$custom: #8a3270;
$custom-light: #af7099;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3270",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 112
  },
  "hsl": {
    "h": 317.727,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46411,
    "c": 0.14027,
    "h": 341
  },
  "luminance": 0.08854
}

Semantic roles & 50–950 ramp

primary
#8A3270
secondary
#66B27C
accent
#D67951
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3270

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

Preview Lab → · Contrast checker → · Palette generator →

#8A3270 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva