#8A2C74#8A2C74

#8A2C74 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.9% C 0.152 H 338.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8A2C74
RGBrgb(138, 44, 116)
HSLhsl(314, 52%, 36%)
HSVhsv(314, 68%, 54%)
CMYKcmyk(0%, 68.1%, 15.9%, 45.9%)
CIE-LABlab(34.94, 47.82, -20.69)
CIE-LCHlch(34.94, 52.10, 336.61°)
OKLaboklab(45.91% 0.1413 -0.056)
OKLCHoklch(45.91% 0.152 338.4)
XYZxyz(14.5346, 8.4669, 17.3884)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C74 #2C8A42
analogous
#712C8A #8A2C74 #8A2C45
triadic
#8A2C74 #748A2C #2C748A
tetradic
#8A2C74 #8A712C #2C8A42 #2C458A
square
#8A2C74 #8A712C #2C8A42 #2C458A
split-complementary
#8A2C74 #458A2C #2C8A71
monochromatic
#2D0E26 #5C1D4D #8A2C74 #B83B9B #CD63B4

Accessibility & contrast

On white

7.80
#8A2C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8A2C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C74
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C74#FFFFFF#000000##FFFFFF
##8A2C741.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304976
Deuteranopia (green-blind)
#4E5772
Tritanopia (blue-blind)
#92304C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2c74;
/* rgb */ color: rgb(138, 44, 116);
/* oklch */ color: oklch(45.9% 0.152 338.4);
Tailwind
colors: {
  custom: {
    50: '#af6d9c',
    500: '#8a2c74',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c74;
$custom-light: #af6d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c74",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 314.043,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45908,
    "c": 0.15196,
    "h": 338.4
  },
  "luminance": 0.08466
}

Semantic roles & 50–950 ramp

primary
#8A2C74
secondary
#5EB472
accent
#DB6E4D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2C74

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

Preview Lab → · Contrast checker → · Palette generator →

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