#8A295C#8A295C

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

Color values

HEX#8A295C
RGBrgb(138, 41, 92)
HSLhsl(328, 54%, 35%)
HSVhsv(328, 70%, 54%)
CMYKcmyk(0%, 70.3%, 33.3%, 45.9%)
CIE-LABlab(33.48, 45.68, -7.62)
CIE-LCHlch(33.48, 46.31, 350.53°)
OKLaboklab(44.52% 0.1395 -0.0197)
OKLCHoklch(44.52% 0.141 352)
XYZxyz(13.2066, 7.7633, 10.9261)
Luminance0.0776 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A295C #298A57
analogous
#88298A #8A295C #8A292B
triadic
#8A295C #5C8A29 #295C8A
tetradic
#8A295C #8A8829 #298A57 #292B8A
square
#8A295C #8A8829 #298A57 #292B8A
split-complementary
#8A295C #2B8A29 #298A88
monochromatic
#2C0D1D #5B1B3D #8A295C #B9377B #CF5E9A

Accessibility & contrast

On white

8.23
#8A295C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8A295C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A295C
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A295C#FFFFFF#000000##FFFFFF
##8A295C1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38445D
Deuteranopia (green-blind)
#54555A
Tritanopia (blue-blind)
#94233F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a295c;
/* rgb */ color: rgb(138, 41, 92);
/* oklch */ color: oklch(44.5% 0.141 352.0);
Tailwind
colors: {
  custom: {
    50: '#b06a8a',
    500: '#8a295c',
    950: '#000000',
  },
}
SCSS
$custom: #8a295c;
$custom-light: #b06a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a295c",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 92
  },
  "hsl": {
    "h": 328.454,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44515,
    "c": 0.14087,
    "h": 352
  },
  "luminance": 0.07762
}

Semantic roles & 50–950 ramp

primary
#8A295C
secondary
#5AB585
accent
#DE904A
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A295C

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

Preview Lab → · Contrast checker → · Palette generator →

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