#8A2C6C#8A2C6C

#8A2C6C is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.5% C 0.146 H 342.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#8A2C6C
RGBrgb(138, 44, 108)
HSLhsl(319, 52%, 36%)
HSVhsv(319, 68%, 54%)
CMYKcmyk(0%, 68.1%, 21.7%, 45.9%)
CIE-LABlab(34.58, 46.61, -16.19)
CIE-LCHlch(34.58, 49.34, 340.85°)
OKLaboklab(45.53% 0.1398 -0.0433)
OKLCHoklch(45.53% 0.146 342.8)
XYZxyz(14.0891, 8.2887, 15.0423)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C6C #2C8A4A
analogous
#792C8A #8A2C6C #8A2C3D
triadic
#8A2C6C #6C8A2C #2C6C8A
tetradic
#8A2C6C #8A792C #2C8A4A #2C3D8A
square
#8A2C6C #8A792C #2C8A4A #2C3D8A
split-complementary
#8A2C6C #3D8A2C #2C8A79
monochromatic
#2D0E23 #5C1D48 #8A2C6C #B83B90 #CD63AB

Accessibility & contrast

On white

7.90
#8A2C6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8A2C6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C6C
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C6C#FFFFFF#000000##FFFFFF
##8A2C6C1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34476E
Deuteranopia (green-blind)
#50576A
Tritanopia (blue-blind)
#932C48
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2c6c;
/* rgb */ color: rgb(138, 44, 108);
/* oklch */ color: oklch(45.5% 0.146 342.8);
Tailwind
colors: {
  custom: {
    50: '#af6c96',
    500: '#8a2c6c',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c6c;
$custom-light: #af6c96;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c6c",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 108
  },
  "hsl": {
    "h": 319.149,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45527,
    "c": 0.1463,
    "h": 342.8
  },
  "luminance": 0.08287
}

Semantic roles & 50–950 ramp

primary
#8A2C6C
secondary
#5EB479
accent
#DB7A4D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2C6C

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

Preview Lab → · Contrast checker → · Palette generator →

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