#8A256A#8A256A

#8A256A is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.7% C 0.154 H 343.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#8A256A
RGBrgb(138, 37, 106)
HSLhsl(319, 58%, 34%)
HSVhsv(319, 73%, 54%)
CMYKcmyk(0%, 73.2%, 23.2%, 45.9%)
CIE-LABlab(33.50, 49.10, -16.58)
CIE-LCHlch(33.50, 51.82, 341.34°)
OKLaboklab(44.71% 0.1478 -0.0443)
OKLCHoklch(44.71% 0.154 343.3)
XYZxyz(13.7448, 7.7684, 14.4085)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A256A #258A45
analogous
#78258A #8A256A #8A2538
triadic
#8A256A #6A8A25 #256A8A
tetradic
#8A256A #8A7825 #258A45 #25388A
square
#8A256A #8A7825 #258A45 #25388A
split-complementary
#8A256A #388A25 #258A78
monochromatic
#290B20 #5A1845 #8A256A #BA328F #D257AB

Accessibility & contrast

On white

8.22
#8A256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8A256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A256A
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A256A#FFFFFF#000000##FFFFFF
##8A256A1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F446C
Deuteranopia (green-blind)
#4E5568
Tritanopia (blue-blind)
#932544
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a256a;
/* rgb */ color: rgb(138, 37, 106);
/* oklch */ color: oklch(44.7% 0.154 343.3);
Tailwind
colors: {
  custom: {
    50: '#b06994',
    500: '#8a256a',
    950: '#000000',
  },
}
SCSS
$custom: #8a256a;
$custom-light: #b06994;
$custom-dark: #000000;
JSON
{
  "hex": "#8a256a",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 319.01,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44709,
    "c": 0.15431,
    "h": 343.3
  },
  "luminance": 0.07767
}

Semantic roles & 50–950 ramp

primary
#8A256A
secondary
#54B773
accent
#E17847
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A256A

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

Preview Lab → · Contrast checker → · Palette generator →

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