#8A286A#8A286A

#8A286A is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.0% C 0.150 H 343.6°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#8A286A
RGBrgb(138, 40, 106)
HSLhsl(320, 55%, 35%)
HSVhsv(320, 71%, 54%)
CMYKcmyk(0%, 71%, 23.2%, 45.9%)
CIE-LABlab(33.91, 47.95, -15.95)
CIE-LCHlch(33.91, 50.53, 341.60°)
OKLaboklab(45.01% 0.1443 -0.0426)
OKLCHoklch(45.01% 0.15 343.6)
XYZxyz(13.8420, 7.9629, 14.4409)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A286A #288A48
analogous
#79288A #8A286A #8A2839
triadic
#8A286A #6A8A28 #286A8A
tetradic
#8A286A #8A7928 #288A48 #28398A
square
#8A286A #8A7928 #288A48 #28398A
split-complementary
#8A286A #398A28 #288A79
monochromatic
#2B0C21 #5B1A46 #8A286A #B9368E #D05DAA

Accessibility & contrast

On white

8.10
#8A286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8A286A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A286A
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A286A#FFFFFF#000000##FFFFFF
##8A286A1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32456C
Deuteranopia (green-blind)
#4F5668
Tritanopia (blue-blind)
#932845
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a286a;
/* rgb */ color: rgb(138, 40, 106);
/* oklch */ color: oklch(45.0% 0.150 343.6);
Tailwind
colors: {
  custom: {
    50: '#af6a94',
    500: '#8a286a',
    950: '#000000',
  },
}
SCSS
$custom: #8a286a;
$custom-light: #af6a94;
$custom-dark: #000000;
JSON
{
  "hex": "#8a286a",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 319.592,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45008,
    "c": 0.15044,
    "h": 343.6
  },
  "luminance": 0.07961
}

Semantic roles & 50–950 ramp

primary
#8A286A
secondary
#59B577
accent
#DE7A49
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A286A

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

Preview Lab → · Contrast checker → · Palette generator →

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