#8A286C#8A286C

#8A286C is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.152 H 342.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#8A286C
RGBrgb(138, 40, 108)
HSLhsl(318, 55%, 35%)
HSVhsv(318, 71%, 54%)
CMYKcmyk(0%, 71%, 21.7%, 45.9%)
CIE-LABlab(33.99, 48.24, -17.09)
CIE-LCHlch(33.99, 51.18, 340.49°)
OKLaboklab(45.1% 0.1447 -0.0458)
OKLCHoklch(45.1% 0.152 342.4)
XYZxyz(13.9472, 8.0049, 14.9950)
Luminance0.0800 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A286C #288A46
analogous
#77288A #8A286C #8A283B
triadic
#8A286C #6C8A28 #286C8A
tetradic
#8A286C #8A7728 #288A46 #283B8A
square
#8A286C #8A7728 #288A46 #283B8A
split-complementary
#8A286C #3B8A28 #288A77
monochromatic
#2B0C22 #5B1A47 #8A286C #B93691 #D05DAD

Accessibility & contrast

On white

8.07
#8A286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8A286C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A286C
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A286C#FFFFFF#000000##FFFFFF
##8A286C1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31466E
Deuteranopia (green-blind)
#4F566A
Tritanopia (blue-blind)
#932946
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a286c;
/* rgb */ color: rgb(138, 40, 108);
/* oklch */ color: oklch(45.1% 0.152 342.4);
Tailwind
colors: {
  custom: {
    50: '#af6b96',
    500: '#8a286c',
    950: '#000000',
  },
}
SCSS
$custom: #8a286c;
$custom-light: #af6b96;
$custom-dark: #000000;
JSON
{
  "hex": "#8a286c",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 318.367,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45101,
    "c": 0.15177,
    "h": 342.4
  },
  "luminance": 0.08004
}

Semantic roles & 50–950 ramp

primary
#8A286C
secondary
#59B575
accent
#DE7749
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A286C

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

Preview Lab → · Contrast checker → · Palette generator →

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