#8A286E#8A286E

#8A286E is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.153 H 341.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#8A286E
RGBrgb(138, 40, 110)
HSLhsl(317, 55%, 35%)
HSVhsv(317, 71%, 54%)
CMYKcmyk(0%, 71%, 20.3%, 45.9%)
CIE-LABlab(34.08, 48.53, -18.22)
CIE-LCHlch(34.08, 51.84, 339.42°)
OKLaboklab(45.2% 0.1451 -0.0489)
OKLCHoklch(45.2% 0.153 341.4)
XYZxyz(14.0549, 8.0480, 15.5620)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A286E #288A44
analogous
#75288A #8A286E #8A283D
triadic
#8A286E #6E8A28 #286E8A
tetradic
#8A286E #8A7528 #288A44 #283D8A
square
#8A286E #8A7528 #288A44 #283D8A
split-complementary
#8A286E #3D8A28 #288A75
monochromatic
#2B0C22 #5B1A48 #8A286E #B93694 #D05DAF

Accessibility & contrast

On white

8.05
#8A286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A286E
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A286E#FFFFFF#000000##FFFFFF
##8A286E1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304670
Deuteranopia (green-blind)
#4E566C
Tritanopia (blue-blind)
#922A47
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a286e;
/* rgb */ color: rgb(138, 40, 110);
/* oklch */ color: oklch(45.2% 0.153 341.4);
Tailwind
colors: {
  custom: {
    50: '#af6b97',
    500: '#8a286e',
    950: '#000000',
  },
}
SCSS
$custom: #8a286e;
$custom-light: #af6b97;
$custom-dark: #000000;
JSON
{
  "hex": "#8a286e",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 317.143,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45195,
    "c": 0.15312,
    "h": 341.4
  },
  "luminance": 0.08047
}

Semantic roles & 50–950 ramp

primary
#8A286E
secondary
#59B573
accent
#DE7449
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A286E

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

Preview Lab → · Contrast checker → · Palette generator →

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