#8A286B#8A286B

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

Color values

HEX#8A286B
RGBrgb(138, 40, 107)
HSLhsl(319, 55%, 35%)
HSVhsv(319, 71%, 54%)
CMYKcmyk(0%, 71%, 22.5%, 45.9%)
CIE-LABlab(33.95, 48.09, -16.52)
CIE-LCHlch(33.95, 50.85, 341.04°)
OKLaboklab(45.05% 0.1445 -0.0442)
OKLCHoklch(45.05% 0.151 343)
XYZxyz(13.8943, 7.9838, 14.7164)
Luminance0.0798 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A286B #288A47
analogous
#78288A #8A286B #8A283A
triadic
#8A286B #6B8A28 #286B8A
tetradic
#8A286B #8A7828 #288A47 #283A8A
square
#8A286B #8A7828 #288A47 #283A8A
split-complementary
#8A286B #3A8A28 #288A78
monochromatic
#2B0C21 #5B1A46 #8A286B #B93690 #D05DAB

Accessibility & contrast

On white

8.09
#8A286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A286B
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A286B#FFFFFF#000000##FFFFFF
##8A286B1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31456D
Deuteranopia (green-blind)
#4F5669
Tritanopia (blue-blind)
#932846
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a286b;
/* rgb */ color: rgb(138, 40, 107);
/* oklch */ color: oklch(45.1% 0.151 343.0);
Tailwind
colors: {
  custom: {
    50: '#af6a95',
    500: '#8a286b',
    950: '#000000',
  },
}
SCSS
$custom: #8a286b;
$custom-light: #af6a95;
$custom-dark: #000000;
JSON
{
  "hex": "#8a286b",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 318.98,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45054,
    "c": 0.1511,
    "h": 343
  },
  "luminance": 0.07982
}

Semantic roles & 50–950 ramp

primary
#8A286B
secondary
#59B576
accent
#DE7949
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A286B

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

Preview Lab → · Contrast checker → · Palette generator →

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