#8A286D#8A286D

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

Color values

HEX#8A286D
RGBrgb(138, 40, 109)
HSLhsl(318, 55%, 35%)
HSVhsv(318, 71%, 54%)
CMYKcmyk(0%, 71%, 21%, 45.9%)
CIE-LABlab(34.04, 48.38, -17.65)
CIE-LCHlch(34.04, 51.50, 339.95°)
OKLaboklab(45.15% 0.1449 -0.0474)
OKLCHoklch(45.15% 0.152 341.9)
XYZxyz(14.0008, 8.0264, 15.2769)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A286D #288A45
analogous
#76288A #8A286D #8A283C
triadic
#8A286D #6D8A28 #286D8A
tetradic
#8A286D #8A7628 #288A45 #283C8A
square
#8A286D #8A7628 #288A45 #283C8A
split-complementary
#8A286D #3C8A28 #288A76
monochromatic
#2B0C22 #5B1A48 #8A286D #B93692 #D05DAE

Accessibility & contrast

On white

8.06
#8A286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8A286D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A286D
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A286D#FFFFFF#000000##FFFFFF
##8A286D1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30466F
Deuteranopia (green-blind)
#4E566B
Tritanopia (blue-blind)
#932947
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a286d;
/* rgb */ color: rgb(138, 40, 109);
/* oklch */ color: oklch(45.1% 0.152 341.9);
Tailwind
colors: {
  custom: {
    50: '#af6b97',
    500: '#8a286d',
    950: '#000000',
  },
}
SCSS
$custom: #8a286d;
$custom-light: #af6b97;
$custom-dark: #000000;
JSON
{
  "hex": "#8a286d",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 317.755,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45148,
    "c": 0.15244,
    "h": 341.9
  },
  "luminance": 0.08025
}

Semantic roles & 50–950 ramp

primary
#8A286D
secondary
#59B574
accent
#DE7549
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A286D

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

Preview Lab → · Contrast checker → · Palette generator →

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