#8A2C64#8A2C64

#8A2C64 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.2% C 0.141 H 347.5°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#8A2C64
RGBrgb(138, 44, 100)
HSLhsl(324, 52%, 36%)
HSVhsv(324, 68%, 54%)
CMYKcmyk(0%, 68.1%, 27.5%, 45.9%)
CIE-LABlab(34.24, 45.48, -11.61)
CIE-LCHlch(34.24, 46.94, 345.68°)
OKLaboklab(45.17% 0.1378 -0.0306)
OKLCHoklch(45.17% 0.141 347.5)
XYZxyz(13.6827, 8.1262, 12.9020)
Luminance0.0813 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C64 #2C8A52
analogous
#812C8A #8A2C64 #8A2C35
triadic
#8A2C64 #648A2C #2C648A
tetradic
#8A2C64 #8A812C #2C8A52 #2C358A
square
#8A2C64 #8A812C #2C8A52 #2C358A
split-complementary
#8A2C64 #358A2C #2C8A81
monochromatic
#2D0E21 #5C1D42 #8A2C64 #B83B86 #CD63A2

Accessibility & contrast

On white

8.00
#8A2C64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8A2C64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C64
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C64#FFFFFF#000000##FFFFFF
##8A2C641.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384666
Deuteranopia (green-blind)
#535662
Tritanopia (blue-blind)
#942944
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2c64;
/* rgb */ color: rgb(138, 44, 100);
/* oklch */ color: oklch(45.2% 0.141 347.5);
Tailwind
colors: {
  custom: {
    50: '#af6c90',
    500: '#8a2c64',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c64;
$custom-light: #af6c90;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c64",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 100
  },
  "hsl": {
    "h": 324.255,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45174,
    "c": 0.14119,
    "h": 347.5
  },
  "luminance": 0.08125
}

Semantic roles & 50–950 ramp

primary
#8A2C64
secondary
#5EB481
accent
#DB864D
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2C64

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

Preview Lab → · Contrast checker → · Palette generator →

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