#8A3F6A#8A3F6A

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

Color values

HEX#8A3F6A
RGBrgb(138, 63, 106)
HSLhsl(326, 37%, 39%)
HSVhsv(326, 54%, 54%)
CMYKcmyk(0%, 54.3%, 23.2%, 45.9%)
CIE-LABlab(37.84, 37.28, -9.96)
CIE-LCHlch(37.84, 38.59, 345.05°)
OKLaboklab(47.91% 0.1118 -0.0262)
OKLCHoklch(47.91% 0.115 346.8)
XYZxyz(14.8607, 10.0001, 14.7804)
Luminance0.1000 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3F6A #3F8A5F
analogous
#853F8A #8A3F6A #8A3F45
triadic
#8A3F6A #6A8A3F #3F6A8A
tetradic
#8A3F6A #8A853F #3F8A5F #3F458A
square
#8A3F6A #8A853F #3F8A5F #3F458A
split-complementary
#8A3F6A #458A3F #3F8A85
monochromatic
#361929 #602C4A #8A3F6A #B1558A #C57FA7

Accessibility & contrast

On white

7.00
#8A3F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8A3F6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3F6A
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3F6A#FFFFFF#000000##FFFFFF
##8A3F6A1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46516B
Deuteranopia (green-blind)
#5A5E68
Tritanopia (blue-blind)
#923E50
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a3f6a;
/* rgb */ color: rgb(138, 63, 106);
/* oklch */ color: oklch(47.9% 0.115 346.8);
Tailwind
colors: {
  custom: {
    50: '#ae7794',
    500: '#8a3f6a',
    950: '#000000',
  },
}
SCSS
$custom: #8a3f6a;
$custom-light: #ae7794;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3f6a",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 106
  },
  "hsl": {
    "h": 325.6,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47914,
    "c": 0.11486,
    "h": 346.8
  },
  "luminance": 0.09999
}

Semantic roles & 50–950 ramp

primary
#8A3F6A
secondary
#76AF8E
accent
#CD8B5B
background
#FBF7F9
surface
#F6EDF1
border
#D0C8CB
text
#11090D
muted
#807B7E

Preview Lab

Preview with #8A3F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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