#8A2C68#8A2C68

#8A2C68 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.3% C 0.144 H 345.1°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#8A2C68
RGBrgb(138, 44, 104)
HSLhsl(322, 52%, 36%)
HSVhsv(322, 68%, 54%)
CMYKcmyk(0%, 68.1%, 24.6%, 45.9%)
CIE-LABlab(34.41, 46.04, -13.91)
CIE-LCHlch(34.41, 48.09, 343.19°)
OKLaboklab(45.35% 0.1388 -0.0369)
OKLCHoklch(45.35% 0.144 345.1)
XYZxyz(13.8811, 8.2055, 13.9468)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C68 #2C8A4E
analogous
#7D2C8A #8A2C68 #8A2C39
triadic
#8A2C68 #688A2C #2C688A
tetradic
#8A2C68 #8A7D2C #2C8A4E #2C398A
square
#8A2C68 #8A7D2C #2C8A4E #2C398A
split-complementary
#8A2C68 #398A2C #2C8A7D
monochromatic
#2D0E22 #5C1D45 #8A2C68 #B83B8B #CD63A7

Accessibility & contrast

On white

7.95
#8A2C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8A2C68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C68
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C68#FFFFFF#000000##FFFFFF
##8A2C681.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36476A
Deuteranopia (green-blind)
#525766
Tritanopia (blue-blind)
#932B46
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2c68;
/* rgb */ color: rgb(138, 44, 104);
/* oklch */ color: oklch(45.3% 0.144 345.1);
Tailwind
colors: {
  custom: {
    50: '#af6c93',
    500: '#8a2c68',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c68;
$custom-light: #af6c93;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c68",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 104
  },
  "hsl": {
    "h": 321.702,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45347,
    "c": 0.14367,
    "h": 345.1
  },
  "luminance": 0.08204
}

Semantic roles & 50–950 ramp

primary
#8A2C68
secondary
#5EB47D
accent
#DB804D
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2C68

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

Preview Lab → · Contrast checker → · Palette generator →

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