#8A295E#8A295E

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

Color values

HEX#8A295E
RGBrgb(138, 41, 94)
HSLhsl(327, 54%, 35%)
HSVhsv(327, 70%, 54%)
CMYKcmyk(0%, 70.3%, 31.9%, 45.9%)
CIE-LABlab(33.56, 45.93, -8.79)
CIE-LCHlch(33.56, 46.76, 349.16°)
OKLaboklab(44.6% 0.1401 -0.0228)
OKLCHoklch(44.6% 0.142 350.7)
XYZxyz(13.2952, 7.7988, 11.3927)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A295E #298A55
analogous
#85298A #8A295E #8A292E
triadic
#8A295E #5E8A29 #295E8A
tetradic
#8A295E #8A8529 #298A55 #292E8A
square
#8A295E #8A8529 #298A55 #292E8A
split-complementary
#8A295E #2E8A29 #298A85
monochromatic
#2C0D1E #5B1B3E #8A295E #B9377E #CF5E9C

Accessibility & contrast

On white

8.21
#8A295E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A295E
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A295E#FFFFFF#000000##FFFFFF
##8A295E1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384460
Deuteranopia (green-blind)
#53555C
Tritanopia (blue-blind)
#942440
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a295e;
/* rgb */ color: rgb(138, 41, 94);
/* oklch */ color: oklch(44.6% 0.142 350.7);
Tailwind
colors: {
  custom: {
    50: '#b06b8b',
    500: '#8a295e',
    950: '#000000',
  },
}
SCSS
$custom: #8a295e;
$custom-light: #b06b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a295e",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 94
  },
  "hsl": {
    "h": 327.216,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44595,
    "c": 0.14192,
    "h": 350.7
  },
  "luminance": 0.07797
}

Semantic roles & 50–950 ramp

primary
#8A295E
secondary
#5AB583
accent
#DE8D4A
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A295E

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

Preview Lab → · Contrast checker → · Palette generator →

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