#8A295D#8A295D

#8A295D is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.6% C 0.141 H 351.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#8A295D
RGBrgb(138, 41, 93)
HSLhsl(328, 54%, 35%)
HSVhsv(328, 70%, 54%)
CMYKcmyk(0%, 70.3%, 32.6%, 45.9%)
CIE-LABlab(33.52, 45.80, -8.21)
CIE-LCHlch(33.52, 46.53, 349.84°)
OKLaboklab(44.56% 0.1398 -0.0213)
OKLCHoklch(44.56% 0.141 351.4)
XYZxyz(13.2507, 7.7809, 11.1579)
Luminance0.0778 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A295D #298A56
analogous
#86298A #8A295D #8A292C
triadic
#8A295D #5D8A29 #295D8A
tetradic
#8A295D #8A8629 #298A56 #292C8A
square
#8A295D #8A8629 #298A56 #292C8A
split-complementary
#8A295D #2C8A29 #298A86
monochromatic
#2C0D1D #5B1B3D #8A295D #B9377D #CF5E9B

Accessibility & contrast

On white

8.22
#8A295D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8A295D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A295D
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A295D#FFFFFF#000000##FFFFFF
##8A295D1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38445E
Deuteranopia (green-blind)
#53555B
Tritanopia (blue-blind)
#94233F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a295d;
/* rgb */ color: rgb(138, 41, 93);
/* oklch */ color: oklch(44.6% 0.141 351.4);
Tailwind
colors: {
  custom: {
    50: '#b06b8a',
    500: '#8a295d',
    950: '#000000',
  },
}
SCSS
$custom: #8a295d;
$custom-light: #b06b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a295d",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 93
  },
  "hsl": {
    "h": 327.835,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44555,
    "c": 0.14139,
    "h": 351.4
  },
  "luminance": 0.07779
}

Semantic roles & 50–950 ramp

primary
#8A295D
secondary
#5AB584
accent
#DE8F4A
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A295D

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

Preview Lab → · Contrast checker → · Palette generator →

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