#8A286F#8A286F

#8A286F is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.2% C 0.154 H 340.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8A286F
RGBrgb(138, 40, 111)
HSLhsl(317, 55%, 35%)
HSVhsv(317, 71%, 54%)
CMYKcmyk(0%, 71%, 19.6%, 45.9%)
CIE-LABlab(34.13, 48.68, -18.78)
CIE-LCHlch(34.13, 52.17, 338.90°)
OKLaboklab(45.24% 0.1453 -0.0505)
OKLCHoklch(45.24% 0.154 340.8)
XYZxyz(14.1097, 8.0699, 15.8504)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A286F #288A43
analogous
#74288A #8A286F #8A283E
triadic
#8A286F #6F8A28 #286F8A
tetradic
#8A286F #8A7428 #288A43 #283E8A
square
#8A286F #8A7428 #288A43 #283E8A
split-complementary
#8A286F #3E8A28 #288A74
monochromatic
#2B0C23 #5B1A49 #8A286F #B93695 #D05DB0

Accessibility & contrast

On white

8.03
#8A286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A286F
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A286F#FFFFFF#000000##FFFFFF
##8A286F1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4671
Deuteranopia (green-blind)
#4E566D
Tritanopia (blue-blind)
#922A48
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a286f;
/* rgb */ color: rgb(138, 40, 111);
/* oklch */ color: oklch(45.2% 0.154 340.8);
Tailwind
colors: {
  custom: {
    50: '#af6b98',
    500: '#8a286f',
    950: '#000000',
  },
}
SCSS
$custom: #8a286f;
$custom-light: #af6b98;
$custom-dark: #000000;
JSON
{
  "hex": "#8a286f",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 316.531,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45243,
    "c": 0.15381,
    "h": 340.8
  },
  "luminance": 0.08069
}

Semantic roles & 50–950 ramp

primary
#8A286F
secondary
#59B572
accent
#DE7249
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A286F

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

Preview Lab → · Contrast checker → · Palette generator →

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