#8A3870#8A3870

#8A3870 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.2% C 0.131 H 341.7°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8A3870
RGBrgb(138, 56, 112)
HSLhsl(319, 42%, 38%)
HSVhsv(319, 59%, 54%)
CMYKcmyk(0%, 59.4%, 18.8%, 45.9%)
CIE-LABlab(36.75, 41.76, -15.38)
CIE-LCHlch(36.75, 44.50, 339.78°)
OKLaboklab(47.18% 0.1241 -0.0411)
OKLCHoklch(47.18% 0.131 341.7)
XYZxyz(14.8204, 9.4027, 16.3605)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3870 #388A52
analogous
#7B388A #8A3870 #8A3847
triadic
#8A3870 #708A38 #38708A
tetradic
#8A3870 #8A7B38 #388A52 #38478A
square
#8A3870 #8A7B38 #388A52 #38478A
split-complementary
#8A3870 #478A38 #388A7B
monochromatic
#331529 #5E264D #8A3870 #B54A93 #C775AD

Accessibility & contrast

On white

7.29
#8A3870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8A3870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3870
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3870#FFFFFF#000000##FFFFFF
##8A38701.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4E72
Deuteranopia (green-blind)
#555B6E
Tritanopia (blue-blind)
#92394F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a3870;
/* rgb */ color: rgb(138, 56, 112);
/* oklch */ color: oklch(47.2% 0.131 341.7);
Tailwind
colors: {
  custom: {
    50: '#af7399',
    500: '#8a3870',
    950: '#000000',
  },
}
SCSS
$custom: #8a3870;
$custom-light: #af7399;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3870",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 112
  },
  "hsl": {
    "h": 319.024,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4718,
    "c": 0.13078,
    "h": 341.7
  },
  "luminance": 0.09401
}

Semantic roles & 50–950 ramp

primary
#8A3870
secondary
#6EB083
accent
#D27D56
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3870

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

Preview Lab → · Contrast checker → · Palette generator →

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