#8A3F6E#8A3F6E

#8A3F6E is a mid, moderate pink. Relative luminance 0.101; OKLCH L 48.1% C 0.118 H 344.0°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8A3F6E
RGBrgb(138, 63, 110)
HSLhsl(322, 37%, 39%)
HSVhsv(322, 54%, 54%)
CMYKcmyk(0%, 54.3%, 20.3%, 45.9%)
CIE-LABlab(38.00, 37.91, -12.23)
CIE-LCHlch(38.00, 39.83, 342.12°)
OKLaboklab(48.08% 0.113 -0.0324)
OKLCHoklch(48.08% 0.118 344)
XYZxyz(15.0736, 10.0853, 15.9016)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3F6E #3F8A5B
analogous
#813F8A #8A3F6E #8A3F49
triadic
#8A3F6E #6E8A3F #3F6E8A
tetradic
#8A3F6E #8A813F #3F8A5B #3F498A
square
#8A3F6E #8A813F #3F8A5B #3F498A
split-complementary
#8A3F6E #498A3F #3F8A81
monochromatic
#36192B #602C4D #8A3F6E #B1558F #C57FAB

Accessibility & contrast

On white

6.96
#8A3F6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8A3F6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3F6E
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3F6E#FFFFFF#000000##FFFFFF
##8A3F6E1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455270
Deuteranopia (green-blind)
#595E6C
Tritanopia (blue-blind)
#923F51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a3f6e;
/* rgb */ color: rgb(138, 63, 110);
/* oklch */ color: oklch(48.1% 0.118 344.0);
Tailwind
colors: {
  custom: {
    50: '#ae7797',
    500: '#8a3f6e',
    950: '#000000',
  },
}
SCSS
$custom: #8a3f6e;
$custom-light: #ae7797;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3f6e",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 110
  },
  "hsl": {
    "h": 322.4,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48078,
    "c": 0.11758,
    "h": 344
  },
  "luminance": 0.10084
}

Semantic roles & 50–950 ramp

primary
#8A3F6E
secondary
#76AF8B
accent
#CD855B
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090D
muted
#807B7E

Preview Lab

Preview with #8A3F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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