#8A2C6A#8A2C6A

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

Color values

HEX#8A2C6A
RGBrgb(138, 44, 106)
HSLhsl(320, 52%, 36%)
HSVhsv(320, 68%, 54%)
CMYKcmyk(0%, 68.1%, 23.2%, 45.9%)
CIE-LABlab(34.49, 46.32, -15.05)
CIE-LCHlch(34.49, 48.71, 342.00°)
OKLaboklab(45.44% 0.1393 -0.0401)
OKLCHoklch(45.44% 0.145 343.9)
XYZxyz(13.9839, 8.2466, 14.4882)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C6A #2C8A4C
analogous
#7B2C8A #8A2C6A #8A2C3B
triadic
#8A2C6A #6A8A2C #2C6A8A
tetradic
#8A2C6A #8A7B2C #2C8A4C #2C3B8A
square
#8A2C6A #8A7B2C #2C8A4C #2C3B8A
split-complementary
#8A2C6A #3B8A2C #2C8A7B
monochromatic
#2D0E23 #5C1D46 #8A2C6A #B83B8E #CD63A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2C6A#FFFFFF#000000##FFFFFF
##8A2C6A1.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)
#35476C
Deuteranopia (green-blind)
#515768
Tritanopia (blue-blind)
#932C47
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2c6a;
/* rgb */ color: rgb(138, 44, 106);
/* oklch */ color: oklch(45.4% 0.145 343.9);
Tailwind
colors: {
  custom: {
    50: '#af6c94',
    500: '#8a2c6a',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c6a;
$custom-light: #af6c94;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c6a",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 106
  },
  "hsl": {
    "h": 320.426,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45436,
    "c": 0.14497,
    "h": 343.9
  },
  "luminance": 0.08245
}

Semantic roles & 50–950 ramp

primary
#8A2C6A
secondary
#5EB47B
accent
#DB7D4D
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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