#8A2E68#8A2E68

#8A2E68 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.6% C 0.141 H 345.3°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8A2E68
RGBrgb(138, 46, 104)
HSLhsl(322, 50%, 36%)
HSVhsv(322, 67%, 54%)
CMYKcmyk(0%, 66.7%, 24.6%, 45.9%)
CIE-LABlab(34.72, 45.18, -13.43)
CIE-LCHlch(34.72, 47.13, 343.44°)
OKLaboklab(45.58% 0.1362 -0.0356)
OKLCHoklch(45.58% 0.141 345.3)
XYZxyz(13.9574, 8.3581, 13.9722)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E68 #2E8A50
analogous
#7E2E8A #8A2E68 #8A2E3A
triadic
#8A2E68 #688A2E #2E688A
tetradic
#8A2E68 #8A7E2E #2E8A50 #2E3A8A
square
#8A2E68 #8A7E2E #2E8A50 #2E3A8A
split-complementary
#8A2E68 #3A8A2E #2E8A7E
monochromatic
#2E0F23 #5C1F45 #8A2E68 #B83D8B #CC66A6

Accessibility & contrast

On white

7.86
#8A2E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8A2E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2E68
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E68#FFFFFF#000000##FFFFFF
##8A2E681.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38486A
Deuteranopia (green-blind)
#525766
Tritanopia (blue-blind)
#932D47
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2e68;
/* rgb */ color: rgb(138, 46, 104);
/* oklch */ color: oklch(45.6% 0.141 345.3);
Tailwind
colors: {
  custom: {
    50: '#af6d93',
    500: '#8a2e68',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e68;
$custom-light: #af6d93;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e68",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 104
  },
  "hsl": {
    "h": 322.174,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45575,
    "c": 0.14079,
    "h": 345.3
  },
  "luminance": 0.08357
}

Semantic roles & 50–950 ramp

primary
#8A2E68
secondary
#61B37F
accent
#DA824E
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2E68

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

Preview Lab → · Contrast checker → · Palette generator →

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