#8A256E#8A256E

#8A256E is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.9% C 0.157 H 341.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#8A256E
RGBrgb(138, 37, 110)
HSLhsl(317, 58%, 34%)
HSVhsv(317, 73%, 54%)
CMYKcmyk(0%, 73.2%, 20.3%, 45.9%)
CIE-LABlab(33.68, 49.67, -18.85)
CIE-LCHlch(33.68, 53.13, 339.22°)
OKLaboklab(44.9% 0.1485 -0.0507)
OKLCHoklch(44.9% 0.157 341.2)
XYZxyz(13.9577, 7.8536, 15.5296)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A256E #258A41
analogous
#74258A #8A256E #8A253C
triadic
#8A256E #6E8A25 #256E8A
tetradic
#8A256E #8A7425 #258A41 #253C8A
square
#8A256E #8A7425 #258A41 #253C8A
split-complementary
#8A256E #3C8A25 #258A74
monochromatic
#290B21 #5A1848 #8A256E #BA3294 #D257B0

Accessibility & contrast

On white

8.17
#8A256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A256E
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A256E#FFFFFF#000000##FFFFFF
##8A256E1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a256e;
/* rgb */ color: rgb(138, 37, 110);
/* oklch */ color: oklch(44.9% 0.157 341.2);
Tailwind
colors: {
  custom: {
    50: '#b06997',
    500: '#8a256e',
    950: '#000000',
  },
}
SCSS
$custom: #8a256e;
$custom-light: #b06997;
$custom-dark: #000000;
JSON
{
  "hex": "#8a256e",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 316.634,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44899,
    "c": 0.15696,
    "h": 341.2
  },
  "luminance": 0.07852
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A256E

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

Preview Lab → · Contrast checker → · Palette generator →

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