#8A255B#8A255B

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

Color values

HEX#8A255B
RGBrgb(138, 37, 91)
HSLhsl(328, 58%, 34%)
HSVhsv(328, 73%, 54%)
CMYKcmyk(0%, 73.2%, 34.1%, 45.9%)
CIE-LABlab(32.88, 47.13, -7.88)
CIE-LCHlch(32.88, 47.78, 350.51°)
OKLaboklab(44.06% 0.1441 -0.0203)
OKLCHoklch(44.06% 0.146 352)
XYZxyz(13.0319, 7.4832, 10.6536)
Luminance0.0748 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A255B #258A54
analogous
#87258A #8A255B #8A2529
triadic
#8A255B #5B8A25 #255B8A
tetradic
#8A255B #8A8725 #258A54 #25298A
square
#8A255B #8A8725 #258A54 #25298A
split-complementary
#8A255B #298A25 #258A87
monochromatic
#290B1B #5A183B #8A255B #BA327B #D25799

Accessibility & contrast

On white

8.41
#8A255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A255B
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A255B#FFFFFF#000000##FFFFFF
##8A255B1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36425C
Deuteranopia (green-blind)
#525459
Tritanopia (blue-blind)
#951E3C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a255b;
/* rgb */ color: rgb(138, 37, 91);
/* oklch */ color: oklch(44.1% 0.146 352.0);
Tailwind
colors: {
  custom: {
    50: '#b06989',
    500: '#8a255b',
    950: '#000000',
  },
}
SCSS
$custom: #8a255b;
$custom-light: #b06989;
$custom-dark: #000000;
JSON
{
  "hex": "#8a255b",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 327.921,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4406,
    "c": 0.14556,
    "h": 352
  },
  "luminance": 0.07482
}

Semantic roles & 50–950 ramp

primary
#8A255B
secondary
#54B782
accent
#E18F47
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A255B

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

Preview Lab → · Contrast checker → · Palette generator →

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