#8A255D#8A255D

#8A255D is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.1% C 0.147 H 350.8°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#8A255D
RGBrgb(138, 37, 93)
HSLhsl(327, 58%, 34%)
HSVhsv(327, 73%, 54%)
CMYKcmyk(0%, 73.2%, 32.6%, 45.9%)
CIE-LABlab(32.96, 47.37, -9.06)
CIE-LCHlch(32.96, 48.23, 349.18°)
OKLaboklab(44.14% 0.1447 -0.0235)
OKLCHoklch(44.14% 0.147 350.8)
XYZxyz(13.1193, 7.5182, 11.1141)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A255D #258A52
analogous
#85258A #8A255D #8A252B
triadic
#8A255D #5D8A25 #255D8A
tetradic
#8A255D #8A8525 #258A52 #252B8A
square
#8A255D #8A8525 #258A52 #252B8A
split-complementary
#8A255D #2B8A25 #258A85
monochromatic
#290B1C #5A183C #8A255D #BA327E #D2579B

Accessibility & contrast

On white

8.39
#8A255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8A255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A255D
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A255D#FFFFFF#000000##FFFFFF
##8A255D1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35425F
Deuteranopia (green-blind)
#52545B
Tritanopia (blue-blind)
#941F3D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a255d;
/* rgb */ color: rgb(138, 37, 93);
/* oklch */ color: oklch(44.1% 0.147 350.8);
Tailwind
colors: {
  custom: {
    50: '#b0698b',
    500: '#8a255d',
    950: '#000000',
  },
}
SCSS
$custom: #8a255d;
$custom-light: #b0698b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a255d",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 326.733,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44141,
    "c": 0.1466,
    "h": 350.8
  },
  "luminance": 0.07517
}

Semantic roles & 50–950 ramp

primary
#8A255D
secondary
#54B780
accent
#E18C47
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A255D

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

Preview Lab → · Contrast checker → · Palette generator →

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