#8A2C60#8A2C60

#8A2C60 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.0% C 0.139 H 350.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#8A2C60
RGBrgb(138, 44, 96)
HSLhsl(327, 52%, 36%)
HSVhsv(327, 68%, 54%)
CMYKcmyk(0%, 68.1%, 30.4%, 45.9%)
CIE-LABlab(34.09, 44.94, -9.28)
CIE-LCHlch(34.09, 45.89, 348.33°)
OKLaboklab(45.01% 0.1368 -0.0242)
OKLCHoklch(45.01% 0.139 350)
XYZxyz(13.4939, 8.0506, 11.9074)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C60 #2C8A56
analogous
#852C8A #8A2C60 #8A2C31
triadic
#8A2C60 #608A2C #2C608A
tetradic
#8A2C60 #8A852C #2C8A56 #2C318A
square
#8A2C60 #8A852C #2C8A56 #2C318A
split-complementary
#8A2C60 #318A2C #2C8A85
monochromatic
#2D0E1F #5C1D40 #8A2C60 #B83B80 #CD639E

Accessibility & contrast

On white

8.05
#8A2C60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8A2C60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C60
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C60#FFFFFF#000000##FFFFFF
##8A2C601.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394662
Deuteranopia (green-blind)
#54565E
Tritanopia (blue-blind)
#942842
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2c60;
/* rgb */ color: rgb(138, 44, 96);
/* oklch */ color: oklch(45.0% 0.139 350.0);
Tailwind
colors: {
  custom: {
    50: '#b06c8d',
    500: '#8a2c60',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c60;
$custom-light: #b06c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c60",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 96
  },
  "hsl": {
    "h": 326.809,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45008,
    "c": 0.13887,
    "h": 350
  },
  "luminance": 0.08049
}

Semantic roles & 50–950 ramp

primary
#8A2C60
secondary
#5EB484
accent
#DB8C4D
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2C60

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

Preview Lab → · Contrast checker → · Palette generator →

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