#8A2A75#8A2A75

#8A2A75 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.155 H 337.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8A2A75
RGBrgb(138, 42, 117)
HSLhsl(313, 53%, 35%)
HSVhsv(313, 70%, 54%)
CMYKcmyk(0%, 69.6%, 15.2%, 45.9%)
CIE-LABlab(34.69, 48.79, -21.70)
CIE-LCHlch(34.69, 53.40, 336.03°)
OKLaboklab(45.74% 0.1439 -0.0588)
OKLCHoklch(45.74% 0.155 337.8)
XYZxyz(14.5203, 8.3449, 17.6722)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A75 #2A8A3F
analogous
#6F2A8A #8A2A75 #8A2A45
triadic
#8A2A75 #758A2A #2A758A
tetradic
#8A2A75 #8A6F2A #2A8A3F #2A458A
square
#8A2A75 #8A6F2A #2A8A3F #2A458A
split-complementary
#8A2A75 #458A2A #2A8A6F
monochromatic
#2C0D25 #5B1C4D #8A2A75 #B9389D #CF60B6

Accessibility & contrast

On white

7.87
#8A2A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8A2A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2A75
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A75#FFFFFF#000000##FFFFFF
##8A2A751.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4877
Deuteranopia (green-blind)
#4C5773
Tritanopia (blue-blind)
#922F4B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2a75;
/* rgb */ color: rgb(138, 42, 117);
/* oklch */ color: oklch(45.7% 0.155 337.8);
Tailwind
colors: {
  custom: {
    50: '#af6c9d',
    500: '#8a2a75',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a75;
$custom-light: #af6c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a75",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 117
  },
  "hsl": {
    "h": 313.125,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45744,
    "c": 0.15544,
    "h": 337.8
  },
  "luminance": 0.08344
}

Semantic roles & 50–950 ramp

primary
#8A2A75
secondary
#5BB46F
accent
#DD6B4B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2A75

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

Preview Lab → · Contrast checker → · Palette generator →

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