#8A2E64#8A2E64

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

Color values

HEX#8A2E64
RGBrgb(138, 46, 100)
HSLhsl(325, 50%, 36%)
HSVhsv(325, 67%, 54%)
CMYKcmyk(0%, 66.7%, 27.5%, 45.9%)
CIE-LABlab(34.56, 44.62, -11.13)
CIE-LCHlch(34.56, 45.98, 345.99°)
OKLaboklab(45.4% 0.1352 -0.0293)
OKLCHoklch(45.4% 0.138 347.8)
XYZxyz(13.7590, 8.2788, 12.9275)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E64 #2E8A54
analogous
#822E8A #8A2E64 #8A2E36
triadic
#8A2E64 #648A2E #2E648A
tetradic
#8A2E64 #8A822E #2E8A54 #2E368A
square
#8A2E64 #8A822E #2E8A54 #2E368A
split-complementary
#8A2E64 #368A2E #2E8A82
monochromatic
#2E0F21 #5C1F43 #8A2E64 #B83D85 #CC66A2

Accessibility & contrast

On white

7.91
#8A2E64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2E64
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E64#FFFFFF#000000##FFFFFF
##8A2E641.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394766
Deuteranopia (green-blind)
#545762
Tritanopia (blue-blind)
#942B45
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2e64;
/* rgb */ color: rgb(138, 46, 100);
/* oklch */ color: oklch(45.4% 0.138 347.8);
Tailwind
colors: {
  custom: {
    50: '#af6d90',
    500: '#8a2e64',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e64;
$custom-light: #af6d90;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e64",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 100
  },
  "hsl": {
    "h": 324.783,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45404,
    "c": 0.13831,
    "h": 347.8
  },
  "luminance": 0.08277
}

Semantic roles & 50–950 ramp

primary
#8A2E64
secondary
#61B383
accent
#DA884E
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2E64

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

Preview Lab → · Contrast checker → · Palette generator →

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