#8A2E66#8A2E66

#8A2E66 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.5% C 0.140 H 346.5°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#8A2E66
RGBrgb(138, 46, 102)
HSLhsl(323, 50%, 36%)
HSVhsv(323, 67%, 54%)
CMYKcmyk(0%, 66.7%, 26.1%, 45.9%)
CIE-LABlab(34.64, 44.90, -12.29)
CIE-LCHlch(34.64, 46.55, 344.70°)
OKLaboklab(45.49% 0.1357 -0.0325)
OKLCHoklch(45.49% 0.14 346.5)
XYZxyz(13.8570, 8.3180, 13.4435)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E66 #2E8A52
analogous
#802E8A #8A2E66 #8A2E38
triadic
#8A2E66 #668A2E #2E668A
tetradic
#8A2E66 #8A802E #2E8A52 #2E388A
square
#8A2E66 #8A802E #2E8A52 #2E388A
split-complementary
#8A2E66 #388A2E #2E8A80
monochromatic
#2E0F22 #5C1F44 #8A2E66 #B83D88 #CC66A4

Accessibility & contrast

On white

7.88
#8A2E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2E66
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E66#FFFFFF#000000##FFFFFF
##8A2E661.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394768
Deuteranopia (green-blind)
#535764
Tritanopia (blue-blind)
#932C46
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2e66;
/* rgb */ color: rgb(138, 46, 102);
/* oklch */ color: oklch(45.5% 0.140 346.5);
Tailwind
colors: {
  custom: {
    50: '#af6d91',
    500: '#8a2e66',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e66;
$custom-light: #af6d91;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e66",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 102
  },
  "hsl": {
    "h": 323.478,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45489,
    "c": 0.13954,
    "h": 346.5
  },
  "luminance": 0.08317
}

Semantic roles & 50–950 ramp

primary
#8A2E66
secondary
#61B381
accent
#DA854E
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2E66

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

Preview Lab → · Contrast checker → · Palette generator →

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