#8A256D#8A256D

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

Color values

HEX#8A256D
RGBrgb(138, 37, 109)
HSLhsl(317, 58%, 34%)
HSVhsv(317, 73%, 54%)
CMYKcmyk(0%, 73.2%, 21%, 45.9%)
CIE-LABlab(33.63, 49.53, -18.28)
CIE-LCHlch(33.63, 52.79, 339.74°)
OKLaboklab(44.85% 0.1484 -0.0491)
OKLCHoklch(44.85% 0.156 341.7)
XYZxyz(13.9036, 7.8319, 15.2445)
Luminance0.0783 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A256D #258A42
analogous
#75258A #8A256D #8A253B
triadic
#8A256D #6D8A25 #256D8A
tetradic
#8A256D #8A7525 #258A42 #253B8A
square
#8A256D #8A7525 #258A42 #253B8A
split-complementary
#8A256D #3B8A25 #258A75
monochromatic
#290B21 #5A1847 #8A256D #BA3293 #D257AF

Accessibility & contrast

On white

8.18
#8A256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8A256D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A256D
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A256D#FFFFFF#000000##FFFFFF
##8A256D1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E456F
Deuteranopia (green-blind)
#4D556B
Tritanopia (blue-blind)
#932746
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a256d;
/* rgb */ color: rgb(138, 37, 109);
/* oklch */ color: oklch(44.9% 0.156 341.7);
Tailwind
colors: {
  custom: {
    50: '#b06997',
    500: '#8a256d',
    950: '#000000',
  },
}
SCSS
$custom: #8a256d;
$custom-light: #b06997;
$custom-dark: #000000;
JSON
{
  "hex": "#8a256d",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 317.228,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44851,
    "c": 0.1563,
    "h": 341.7
  },
  "luminance": 0.07831
}

Semantic roles & 50–950 ramp

primary
#8A256D
secondary
#54B770
accent
#E17347
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A256D

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

Preview Lab → · Contrast checker → · Palette generator →

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