#8A255E#8A255E

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

Color values

HEX#8A255E
RGBrgb(138, 37, 94)
HSLhsl(326, 58%, 34%)
HSVhsv(326, 73%, 54%)
CMYKcmyk(0%, 73.2%, 31.9%, 45.9%)
CIE-LABlab(33.00, 47.50, -9.64)
CIE-LCHlch(33.00, 48.47, 348.52°)
OKLaboklab(44.18% 0.145 -0.0251)
OKLCHoklch(44.18% 0.147 350.2)
XYZxyz(13.1639, 7.5360, 11.3489)
Luminance0.0754 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A255E #258A51
analogous
#84258A #8A255E #8A252B
triadic
#8A255E #5E8A25 #255E8A
tetradic
#8A255E #8A8425 #258A51 #252B8A
square
#8A255E #8A8425 #258A51 #252B8A
split-complementary
#8A255E #2B8A25 #258A84
monochromatic
#290B1C #5A183D #8A255E #BA327F #D2579D

Accessibility & contrast

On white

8.38
#8A255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8A255E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A255E
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A255E#FFFFFF#000000##FFFFFF
##8A255E1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354260
Deuteranopia (green-blind)
#52545C
Tritanopia (blue-blind)
#941F3E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a255e;
/* rgb */ color: rgb(138, 37, 94);
/* oklch */ color: oklch(44.2% 0.147 350.2);
Tailwind
colors: {
  custom: {
    50: '#b0698b',
    500: '#8a255e',
    950: '#000000',
  },
}
SCSS
$custom: #8a255e;
$custom-light: #b0698b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a255e",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 326.139,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44182,
    "c": 0.14713,
    "h": 350.2
  },
  "luminance": 0.07535
}

Semantic roles & 50–950 ramp

primary
#8A255E
secondary
#54B77F
accent
#E18A47
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A255E

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

Preview Lab → · Contrast checker → · Palette generator →

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