#8A3F70#8A3F70

#8A3F70 is a mid, moderate pink. Relative luminance 0.101; OKLCH L 48.2% C 0.119 H 342.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8A3F70
RGBrgb(138, 63, 112)
HSLhsl(321, 37%, 39%)
HSVhsv(321, 54%, 54%)
CMYKcmyk(0%, 54.3%, 18.8%, 45.9%)
CIE-LABlab(38.07, 38.22, -13.36)
CIE-LCHlch(38.07, 40.49, 340.74°)
OKLaboklab(48.16% 0.1136 -0.0356)
OKLCHoklch(48.16% 0.119 342.6)
XYZxyz(15.1837, 10.1293, 16.4816)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3F70 #3F8A59
analogous
#7F3F8A #8A3F70 #8A3F4B
triadic
#8A3F70 #708A3F #3F708A
tetradic
#8A3F70 #8A7F3F #3F8A59 #3F4B8A
square
#8A3F70 #8A7F3F #3F8A59 #3F4B8A
split-complementary
#8A3F70 #4B8A3F #3F8A7F
monochromatic
#36192C #602C4E #8A3F70 #B15591 #C57FAC

Accessibility & contrast

On white

6.94
#8A3F70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8A3F70 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3F70
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3F70#FFFFFF#000000##FFFFFF
##8A3F701.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445272
Deuteranopia (green-blind)
#595E6E
Tritanopia (blue-blind)
#923F52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3f70;
/* rgb */ color: rgb(138, 63, 112);
/* oklch */ color: oklch(48.2% 0.119 342.6);
Tailwind
colors: {
  custom: {
    50: '#ae7799',
    500: '#8a3f70',
    950: '#000000',
  },
}
SCSS
$custom: #8a3f70;
$custom-light: #ae7799;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3f70",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 112
  },
  "hsl": {
    "h": 320.8,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48162,
    "c": 0.119,
    "h": 342.6
  },
  "luminance": 0.10128
}

Semantic roles & 50–950 ramp

primary
#8A3F70
secondary
#76AF8A
accent
#CD825B
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090D
muted
#807B7E

Preview Lab

Preview with #8A3F70

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

Preview Lab → · Contrast checker → · Palette generator →

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