#8A3979#8A3979

#8A3979 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 47.7% C 0.136 H 336.4°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8A3979
RGBrgb(138, 57, 121)
HSLhsl(313, 42%, 38%)
HSVhsv(313, 59%, 54%)
CMYKcmyk(0%, 58.7%, 12.3%, 45.9%)
CIE-LABlab(37.32, 42.73, -20.12)
CIE-LCHlch(37.32, 47.23, 334.78°)
OKLaboklab(47.73% 0.1247 -0.0545)
OKLCHoklch(47.73% 0.136 336.4)
XYZxyz(15.3957, 9.7112, 19.1490)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3979 #398A4A
analogous
#72398A #8A3979 #8A3950
triadic
#8A3979 #798A39 #39798A
tetradic
#8A3979 #8A7239 #398A4A #39508A
square
#8A3979 #8A7239 #398A4A #39508A
split-complementary
#8A3979 #508A39 #398A72
monochromatic
#33152D #5F2753 #8A3979 #B54B9F #C777B6

Accessibility & contrast

On white

7.14
#8A3979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8A3979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3979
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3979#FFFFFF#000000##FFFFFF
##8A39791.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A507B
Deuteranopia (green-blind)
#525C77
Tritanopia (blue-blind)
#913D54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3979;
/* rgb */ color: rgb(138, 57, 121);
/* oklch */ color: oklch(47.7% 0.136 336.4);
Tailwind
colors: {
  custom: {
    50: '#ae74a0',
    500: '#8a3979',
    950: '#000000',
  },
}
SCSS
$custom: #8a3979;
$custom-light: #ae74a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3979",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 121
  },
  "hsl": {
    "h": 312.593,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47728,
    "c": 0.13608,
    "h": 336.4
  },
  "luminance": 0.0971
}

Semantic roles & 50–950 ramp

primary
#8A3979
secondary
#6FB07D
accent
#D17056
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3979

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

Preview Lab → · Contrast checker → · Palette generator →

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