#8A255C#8A255C

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

Color values

HEX#8A255C
RGBrgb(138, 37, 92)
HSLhsl(327, 58%, 34%)
HSVhsv(327, 73%, 54%)
CMYKcmyk(0%, 73.2%, 33.3%, 45.9%)
CIE-LABlab(32.92, 47.25, -8.47)
CIE-LCHlch(32.92, 48.00, 349.84°)
OKLaboklab(44.1% 0.1444 -0.0219)
OKLCHoklch(44.1% 0.146 351.4)
XYZxyz(13.0753, 7.5006, 10.8823)
Luminance0.0750 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A255C #258A53
analogous
#86258A #8A255C #8A252A
triadic
#8A255C #5C8A25 #255C8A
tetradic
#8A255C #8A8625 #258A53 #252A8A
square
#8A255C #8A8625 #258A53 #252A8A
split-complementary
#8A255C #2A8A25 #258A86
monochromatic
#290B1C #5A183C #8A255C #BA327C #D2579A

Accessibility & contrast

On white

8.40
#8A255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A255C
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A255C#FFFFFF#000000##FFFFFF
##8A255C1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36425E
Deuteranopia (green-blind)
#52545A
Tritanopia (blue-blind)
#951E3D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a255c;
/* rgb */ color: rgb(138, 37, 92);
/* oklch */ color: oklch(44.1% 0.146 351.4);
Tailwind
colors: {
  custom: {
    50: '#b0698a',
    500: '#8a255c',
    950: '#000000',
  },
}
SCSS
$custom: #8a255c;
$custom-light: #b0698a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a255c",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 327.327,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44101,
    "c": 0.14608,
    "h": 351.4
  },
  "luminance": 0.07499
}

Semantic roles & 50–950 ramp

primary
#8A255C
secondary
#54B781
accent
#E18D47
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A255C

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

Preview Lab → · Contrast checker → · Palette generator →

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