#8A256C#8A256C

#8A256C is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.156 H 342.2°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8A256C
RGBrgb(138, 37, 108)
HSLhsl(318, 58%, 34%)
HSVhsv(318, 73%, 54%)
CMYKcmyk(0%, 73.2%, 21.7%, 45.9%)
CIE-LABlab(33.59, 49.38, -17.72)
CIE-LCHlch(33.59, 52.46, 340.26°)
OKLaboklab(44.8% 0.1482 -0.0475)
OKLCHoklch(44.8% 0.156 342.2)
XYZxyz(13.8500, 7.8105, 14.9626)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A256C #258A43
analogous
#76258A #8A256C #8A253A
triadic
#8A256C #6C8A25 #256C8A
tetradic
#8A256C #8A7625 #258A43 #253A8A
square
#8A256C #8A7625 #258A43 #253A8A
split-complementary
#8A256C #3A8A25 #258A76
monochromatic
#290B20 #5A1846 #8A256C #BA3292 #D257AE

Accessibility & contrast

On white

8.20
#8A256C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8A256C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A256C
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A256C#FFFFFF#000000##FFFFFF
##8A256C1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E446E
Deuteranopia (green-blind)
#4D556A
Tritanopia (blue-blind)
#932645
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a256c;
/* rgb */ color: rgb(138, 37, 108);
/* oklch */ color: oklch(44.8% 0.156 342.2);
Tailwind
colors: {
  custom: {
    50: '#b06996',
    500: '#8a256c',
    950: '#000000',
  },
}
SCSS
$custom: #8a256c;
$custom-light: #b06996;
$custom-dark: #000000;
JSON
{
  "hex": "#8a256c",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 317.822,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44803,
    "c": 0.15562,
    "h": 342.2
  },
  "luminance": 0.07809
}

Semantic roles & 50–950 ramp

primary
#8A256C
secondary
#54B771
accent
#E17547
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A256C

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

Preview Lab → · Contrast checker → · Palette generator →

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