#8A296C#8A296C

#8A296C is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.2% C 0.150 H 342.5°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8A296C
RGBrgb(138, 41, 108)
HSLhsl(319, 54%, 35%)
HSVhsv(319, 70%, 54%)
CMYKcmyk(0%, 70.3%, 21.7%, 45.9%)
CIE-LABlab(34.13, 47.84, -16.87)
CIE-LCHlch(34.13, 50.73, 340.58°)
OKLaboklab(45.2% 0.1435 -0.0452)
OKLCHoklch(45.2% 0.15 342.5)
XYZxyz(13.9814, 8.0732, 15.0064)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A296C #298A47
analogous
#78298A #8A296C #8A293B
triadic
#8A296C #6C8A29 #296C8A
tetradic
#8A296C #8A7829 #298A47 #293B8A
square
#8A296C #8A7829 #298A47 #293B8A
split-complementary
#8A296C #3B8A29 #298A78
monochromatic
#2C0D22 #5B1B47 #8A296C #B93791 #CF5EAC

Accessibility & contrast

On white

8.03
#8A296C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8A296C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A296C
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A296C#FFFFFF#000000##FFFFFF
##8A296C1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32466E
Deuteranopia (green-blind)
#4F566A
Tritanopia (blue-blind)
#932A46
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a296c;
/* rgb */ color: rgb(138, 41, 108);
/* oklch */ color: oklch(45.2% 0.150 342.5);
Tailwind
colors: {
  custom: {
    50: '#af6b96',
    500: '#8a296c',
    950: '#000000',
  },
}
SCSS
$custom: #8a296c;
$custom-light: #af6b96;
$custom-dark: #000000;
JSON
{
  "hex": "#8a296c",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 108
  },
  "hsl": {
    "h": 318.557,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45204,
    "c": 0.15043,
    "h": 342.5
  },
  "luminance": 0.08072
}

Semantic roles & 50–950 ramp

primary
#8A296C
secondary
#5AB576
accent
#DE784A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A296C

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

Preview Lab → · Contrast checker → · Palette generator →

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