#8A2D79#8A2D79

#8A2D79 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.3% C 0.154 H 335.8°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#8A2D79
RGBrgb(138, 45, 121)
HSLhsl(311, 51%, 36%)
HSVhsv(311, 67%, 54%)
CMYKcmyk(0%, 67.4%, 12.3%, 45.9%)
CIE-LABlab(35.32, 48.20, -23.22)
CIE-LCHlch(35.32, 53.50, 334.28°)
OKLaboklab(46.27% 0.1408 -0.0632)
OKLCHoklch(46.27% 0.154 335.8)
XYZxyz(14.8710, 8.6618, 18.9741)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D79 #2D8A3E
analogous
#6C2D8A #8A2D79 #8A2D4A
triadic
#8A2D79 #798A2D #2D798A
tetradic
#8A2D79 #8A6C2D #2D8A3E #2D4A8A
square
#8A2D79 #8A6C2D #2D8A3E #2D4A8A
split-complementary
#8A2D79 #4A8A2D #2D8A6C
monochromatic
#2E0F28 #5C1E51 #8A2D79 #B83CA1 #CD65BA

Accessibility & contrast

On white

7.69
#8A2D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8A2D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D79
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D79#FFFFFF#000000##FFFFFF
##8A2D791.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4A7B
Deuteranopia (green-blind)
#4C5877
Tritanopia (blue-blind)
#91334F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2d79;
/* rgb */ color: rgb(138, 45, 121);
/* oklch */ color: oklch(46.3% 0.154 335.8);
Tailwind
colors: {
  custom: {
    50: '#af6da0',
    500: '#8a2d79',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d79;
$custom-light: #af6da0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d79",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 310.968,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46268,
    "c": 0.15434,
    "h": 335.8
  },
  "luminance": 0.08661
}

Semantic roles & 50–950 ramp

primary
#8A2D79
secondary
#60B36F
accent
#DA674D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2D79

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

Preview Lab → · Contrast checker → · Palette generator →

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