#8A2C63#8A2C63

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

Color values

HEX#8A2C63
RGBrgb(138, 44, 99)
HSLhsl(325, 52%, 36%)
HSVhsv(325, 68%, 54%)
CMYKcmyk(0%, 68.1%, 28.3%, 45.9%)
CIE-LABlab(34.20, 45.34, -11.03)
CIE-LCHlch(34.20, 46.66, 346.33°)
OKLaboklab(45.13% 0.1376 -0.029)
OKLCHoklch(45.13% 0.141 348.1)
XYZxyz(13.6346, 8.1069, 12.6487)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C63 #2C8A53
analogous
#822C8A #8A2C63 #8A2C34
triadic
#8A2C63 #638A2C #2C638A
tetradic
#8A2C63 #8A822C #2C8A53 #2C348A
square
#8A2C63 #8A822C #2C8A53 #2C348A
split-complementary
#8A2C63 #348A2C #2C8A82
monochromatic
#2D0E20 #5C1D42 #8A2C63 #B83B84 #CD63A1

Accessibility & contrast

On white

8.01
#8A2C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8A2C63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C63
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C63#FFFFFF#000000##FFFFFF
##8A2C631.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384665
Deuteranopia (green-blind)
#535661
Tritanopia (blue-blind)
#942943
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2c63;
/* rgb */ color: rgb(138, 44, 99);
/* oklch */ color: oklch(45.1% 0.141 348.1);
Tailwind
colors: {
  custom: {
    50: '#af6c8f',
    500: '#8a2c63',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c63;
$custom-light: #af6c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c63",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 99
  },
  "hsl": {
    "h": 324.894,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45132,
    "c": 0.14059,
    "h": 348.1
  },
  "luminance": 0.08105
}

Semantic roles & 50–950 ramp

primary
#8A2C63
secondary
#5EB482
accent
#DB884D
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2C63

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

Preview Lab → · Contrast checker → · Palette generator →

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