#8A2E6E#8A2E6E

#8A2E6E is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.8% C 0.145 H 341.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8A2E6E
RGBrgb(138, 46, 110)
HSLhsl(318, 50%, 36%)
HSVhsv(318, 67%, 54%)
CMYKcmyk(0%, 66.7%, 20.3%, 45.9%)
CIE-LABlab(34.97, 46.06, -16.85)
CIE-LCHlch(34.97, 49.04, 339.91°)
OKLaboklab(45.85% 0.1376 -0.0451)
OKLCHoklch(45.85% 0.145 341.8)
XYZxyz(14.2731, 8.4844, 15.6348)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E6E #2E8A4A
analogous
#782E8A #8A2E6E #8A2E40
triadic
#8A2E6E #6E8A2E #2E6E8A
tetradic
#8A2E6E #8A782E #2E8A4A #2E408A
square
#8A2E6E #8A782E #2E8A4A #2E408A
split-complementary
#8A2E6E #408A2E #2E8A78
monochromatic
#2E0F25 #5C1F49 #8A2E6E #B83D93 #CC66AD

Accessibility & contrast

On white

7.79
#8A2E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8A2E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2E6E
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E6E#FFFFFF#000000##FFFFFF
##8A2E6E1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354970
Deuteranopia (green-blind)
#51586C
Tritanopia (blue-blind)
#922F49
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2e6e;
/* rgb */ color: rgb(138, 46, 110);
/* oklch */ color: oklch(45.8% 0.145 341.8);
Tailwind
colors: {
  custom: {
    50: '#af6e97',
    500: '#8a2e6e',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e6e;
$custom-light: #af6e97;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e6e",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 110
  },
  "hsl": {
    "h": 318.261,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45845,
    "c": 0.14481,
    "h": 341.8
  },
  "luminance": 0.08483
}

Semantic roles & 50–950 ramp

primary
#8A2E6E
secondary
#61B37A
accent
#DA794E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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