#8A256F#8A256F

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

Color values

HEX#8A256F
RGBrgb(138, 37, 111)
HSLhsl(316, 58%, 34%)
HSVhsv(316, 73%, 54%)
CMYKcmyk(0%, 73.2%, 19.6%, 45.9%)
CIE-LABlab(33.72, 49.82, -19.41)
CIE-LCHlch(33.72, 53.46, 338.71°)
OKLaboklab(44.95% 0.1487 -0.0523)
OKLCHoklch(44.95% 0.158 340.6)
XYZxyz(14.0124, 7.8755, 15.8180)
Luminance0.0787 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A256F #258A40
analogous
#73258A #8A256F #8A253C
triadic
#8A256F #6F8A25 #256F8A
tetradic
#8A256F #8A7325 #258A40 #253C8A
square
#8A256F #8A7325 #258A40 #253C8A
split-complementary
#8A256F #3C8A25 #258A73
monochromatic
#290B21 #5A1848 #8A256F #BA3296 #D257B1

Accessibility & contrast

On white

8.16
#8A256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A256F
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A256F#FFFFFF#000000##FFFFFF
##8A256F1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4571
Deuteranopia (green-blind)
#4C556D
Tritanopia (blue-blind)
#922847
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a256f;
/* rgb */ color: rgb(138, 37, 111);
/* oklch */ color: oklch(44.9% 0.158 340.6);
Tailwind
colors: {
  custom: {
    50: '#b06998',
    500: '#8a256f',
    950: '#000000',
  },
}
SCSS
$custom: #8a256f;
$custom-light: #b06998;
$custom-dark: #000000;
JSON
{
  "hex": "#8a256f",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 316.04,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44948,
    "c": 0.15765,
    "h": 340.6
  },
  "luminance": 0.07874
}

Semantic roles & 50–950 ramp

primary
#8A256F
secondary
#54B76F
accent
#E17047
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A256F

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

Preview Lab → · Contrast checker → · Palette generator →

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