#8A3370#8A3370

#8A3370 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.5% C 0.139 H 341.1°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8A3370
RGBrgb(138, 51, 112)
HSLhsl(318, 46%, 37%)
HSVhsv(318, 63%, 54%)
CMYKcmyk(0%, 63%, 18.8%, 45.9%)
CIE-LABlab(35.87, 44.13, -16.72)
CIE-LCHlch(35.87, 47.19, 339.24°)
OKLaboklab(46.53% 0.1313 -0.0449)
OKLCHoklch(46.53% 0.139 341.1)
XYZxyz(14.5900, 8.9421, 16.2837)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3370 #338A4D
analogous
#79338A #8A3370 #8A3345
triadic
#8A3370 #708A33 #33708A
tetradic
#8A3370 #8A7933 #338A4D #33458A
square
#8A3370 #8A7933 #338A4D #33458A
split-complementary
#8A3370 #458A33 #338A79
monochromatic
#311227 #5D224C #8A3370 #B74494 #C96EAE

Accessibility & contrast

On white

7.53
#8A3370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8A3370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3370
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3370#FFFFFF#000000##FFFFFF
##8A33701.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394B72
Deuteranopia (green-blind)
#525A6E
Tritanopia (blue-blind)
#92344D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a3370;
/* rgb */ color: rgb(138, 51, 112);
/* oklch */ color: oklch(46.5% 0.139 341.1);
Tailwind
colors: {
  custom: {
    50: '#af7099',
    500: '#8a3370',
    950: '#000000',
  },
}
SCSS
$custom: #8a3370;
$custom-light: #af7099;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3370",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 112
  },
  "hsl": {
    "h": 317.931,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46534,
    "c": 0.13873,
    "h": 341.1
  },
  "luminance": 0.08941
}

Semantic roles & 50–950 ramp

primary
#8A3370
secondary
#67B17E
accent
#D67952
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3370

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

Preview Lab → · Contrast checker → · Palette generator →

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