#8A3D72#8A3D72

#8A3D72 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.0% C 0.124 H 341.0°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8A3D72
RGBrgb(138, 61, 114)
HSLhsl(319, 39%, 39%)
HSVhsv(319, 56%, 54%)
CMYKcmyk(0%, 55.8%, 17.4%, 45.9%)
CIE-LABlab(37.77, 39.58, -15.08)
CIE-LCHlch(37.77, 42.35, 339.15°)
OKLaboklab(47.96% 0.1172 -0.0403)
OKLCHoklch(47.96% 0.124 341)
XYZxyz(15.1875, 9.9569, 17.0383)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3D72 #3D8A55
analogous
#7C3D8A #8A3D72 #8A3D4C
triadic
#8A3D72 #728A3D #3D728A
tetradic
#8A3D72 #8A7C3D #3D8A55 #3D4C8A
square
#8A3D72 #8A7C3D #3D8A55 #3D4C8A
split-complementary
#8A3D72 #4C8A3D #3D8A7C
monochromatic
#35172C #602A4F #8A3D72 #B25294 #C57CAE

Accessibility & contrast

On white

7.02
#8A3D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8A3D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3D72
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3D72#FFFFFF#000000##FFFFFF
##8A3D721.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415174
Deuteranopia (green-blind)
#575D70
Tritanopia (blue-blind)
#923E52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a3d72;
/* rgb */ color: rgb(138, 61, 114);
/* oklch */ color: oklch(48.0% 0.124 341.0);
Tailwind
colors: {
  custom: {
    50: '#ae769a',
    500: '#8a3d72',
    950: '#000000',
  },
}
SCSS
$custom: #8a3d72;
$custom-light: #ae769a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3d72",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 114
  },
  "hsl": {
    "h": 318.701,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4796,
    "c": 0.12392,
    "h": 341
  },
  "luminance": 0.09956
}

Semantic roles & 50–950 ramp

primary
#8A3D72
secondary
#74AF86
accent
#CF7E59
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8A3D72

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

Preview Lab → · Contrast checker → · Palette generator →

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