#8A2779#8A2779

#8A2779 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.162 H 335.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8A2779
RGBrgb(138, 39, 121)
HSLhsl(310, 56%, 35%)
HSVhsv(310, 72%, 54%)
CMYKcmyk(0%, 71.7%, 12.3%, 45.9%)
CIE-LABlab(34.47, 50.59, -24.55)
CIE-LCHlch(34.47, 56.23, 334.11°)
OKLaboklab(45.65% 0.1479 -0.0669)
OKLCHoklch(45.65% 0.162 335.6)
XYZxyz(14.6581, 8.2361, 18.9032)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2779 #278A38
analogous
#6A278A #8A2779 #8A2748
triadic
#8A2779 #798A27 #27798A
tetradic
#8A2779 #8A6A27 #278A38 #27488A
square
#8A2779 #8A6A27 #278A38 #27488A
split-complementary
#8A2779 #488A27 #278A6A
monochromatic
#2B0C25 #5A1A4F #8A2779 #BA34A3 #D15BBC

Accessibility & contrast

On white

7.93
#8A2779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8A2779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2779
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2779#FFFFFF#000000##FFFFFF
##8A27791.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28487B
Deuteranopia (green-blind)
#495677
Tritanopia (blue-blind)
#912E4D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2779;
/* rgb */ color: rgb(138, 39, 121);
/* oklch */ color: oklch(45.6% 0.162 335.6);
Tailwind
colors: {
  custom: {
    50: '#af6ba0',
    500: '#8a2779',
    950: '#000000',
  },
}
SCSS
$custom: #8a2779;
$custom-light: #af6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2779",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 310.303,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45647,
    "c": 0.16234,
    "h": 335.6
  },
  "luminance": 0.08235
}

Semantic roles & 50–950 ramp

primary
#8A2779
secondary
#57B667
accent
#DF6249
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2779

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

Preview Lab → · Contrast checker → · Palette generator →

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