#8A3E6D#8A3E6D

#8A3E6D is a mid, moderate pink. Relative luminance 0.100; OKLCH L 47.9% C 0.119 H 344.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8A3E6D
RGBrgb(138, 62, 109)
HSLhsl(323, 38%, 39%)
HSVhsv(323, 55%, 54%)
CMYKcmyk(0%, 55.1%, 21%, 45.9%)
CIE-LABlab(37.76, 38.27, -11.96)
CIE-LCHlch(37.76, 40.09, 342.64°)
OKLaboklab(47.89% 0.1143 -0.0317)
OKLCHoklch(47.89% 0.119 344.5)
XYZxyz(14.9645, 9.9539, 15.5982)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3E6D #3E8A5B
analogous
#813E8A #8A3E6D #8A3E47
triadic
#8A3E6D #6D8A3E #3E6D8A
tetradic
#8A3E6D #8A813E #3E8A5B #3E478A
square
#8A3E6D #8A813E #3E8A5B #3E478A
split-complementary
#8A3E6D #478A3E #3E8A81
monochromatic
#36182A #602B4C #8A3E6D #B2538E #C57EAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A3E6D#FFFFFF#000000##FFFFFF
##8A3E6D1.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)
#44516F
Deuteranopia (green-blind)
#595E6B
Tritanopia (blue-blind)
#923E50
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a3e6d;
/* rgb */ color: rgb(138, 62, 109);
/* oklch */ color: oklch(47.9% 0.119 344.5);
Tailwind
colors: {
  custom: {
    50: '#ae7797',
    500: '#8a3e6d',
    950: '#000000',
  },
}
SCSS
$custom: #8a3e6d;
$custom-light: #ae7797;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3e6d",
  "rgb": {
    "r": 138,
    "g": 62,
    "b": 109
  },
  "hsl": {
    "h": 322.895,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4789,
    "c": 0.1186,
    "h": 344.5
  },
  "luminance": 0.09953
}

Semantic roles & 50–950 ramp

primary
#8A3E6D
secondary
#75AF8B
accent
#CE865A
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11090D
muted
#807B7E

Preview Lab

Preview with #8A3E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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