#8A2E63#8A2E63

#8A2E63 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.4% C 0.138 H 348.4°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8A2E63
RGBrgb(138, 46, 99)
HSLhsl(325, 50%, 36%)
HSVhsv(325, 67%, 54%)
CMYKcmyk(0%, 66.7%, 28.3%, 45.9%)
CIE-LABlab(34.52, 44.48, -10.55)
CIE-LCHlch(34.52, 45.71, 346.65°)
OKLaboklab(45.36% 0.1349 -0.0277)
OKLCHoklch(45.36% 0.138 348.4)
XYZxyz(13.7109, 8.2595, 12.6741)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E63 #2E8A55
analogous
#832E8A #8A2E63 #8A2E35
triadic
#8A2E63 #638A2E #2E638A
tetradic
#8A2E63 #8A832E #2E8A55 #2E358A
square
#8A2E63 #8A832E #2E8A55 #2E358A
split-complementary
#8A2E63 #358A2E #2E8A83
monochromatic
#2E0F21 #5C1F42 #8A2E63 #B83D84 #CC66A1

Accessibility & contrast

On white

7.92
#8A2E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2E63
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E63#FFFFFF#000000##FFFFFF
##8A2E631.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4765
Deuteranopia (green-blind)
#545761
Tritanopia (blue-blind)
#942B44
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2e63;
/* rgb */ color: rgb(138, 46, 99);
/* oklch */ color: oklch(45.4% 0.138 348.4);
Tailwind
colors: {
  custom: {
    50: '#af6d8f',
    500: '#8a2e63',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e63;
$custom-light: #af6d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e63",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 99
  },
  "hsl": {
    "h": 325.435,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45362,
    "c": 0.13772,
    "h": 348.4
  },
  "luminance": 0.08258
}

Semantic roles & 50–950 ramp

primary
#8A2E63
secondary
#61B384
accent
#DA894E
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2E63

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

Preview Lab → · Contrast checker → · Palette generator →

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