#8A256B#8A256B

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

Color values

HEX#8A256B
RGBrgb(138, 37, 107)
HSLhsl(318, 58%, 34%)
HSVhsv(318, 73%, 54%)
CMYKcmyk(0%, 73.2%, 22.5%, 45.9%)
CIE-LABlab(33.54, 49.24, -17.15)
CIE-LCHlch(33.54, 52.14, 340.80°)
OKLaboklab(44.76% 0.148 -0.0459)
OKLCHoklch(44.76% 0.155 342.8)
XYZxyz(13.7971, 7.7893, 14.6839)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A256B #258A44
analogous
#77258A #8A256B #8A2539
triadic
#8A256B #6B8A25 #256B8A
tetradic
#8A256B #8A7725 #258A44 #25398A
square
#8A256B #8A7725 #258A44 #25398A
split-complementary
#8A256B #398A25 #258A77
monochromatic
#290B20 #5A1846 #8A256B #BA3290 #D257AC

Accessibility & contrast

On white

8.21
#8A256B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A256B
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A256B#FFFFFF#000000##FFFFFF
##8A256B1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a256b;
/* rgb */ color: rgb(138, 37, 107);
/* oklch */ color: oklch(44.8% 0.155 342.8);
Tailwind
colors: {
  custom: {
    50: '#b06995',
    500: '#8a256b',
    950: '#000000',
  },
}
SCSS
$custom: #8a256b;
$custom-light: #b06995;
$custom-dark: #000000;
JSON
{
  "hex": "#8a256b",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 318.416,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44756,
    "c": 0.15496,
    "h": 342.8
  },
  "luminance": 0.07788
}

Semantic roles & 50–950 ramp

primary
#8A256B
secondary
#54B772
accent
#E17647
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A256B

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

Preview Lab → · Contrast checker → · Palette generator →

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