#8A296E#8A296E

#8A296E is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.152 H 341.4°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#8A296E
RGBrgb(138, 41, 110)
HSLhsl(317, 54%, 35%)
HSVhsv(317, 70%, 54%)
CMYKcmyk(0%, 70.3%, 20.3%, 45.9%)
CIE-LABlab(34.22, 48.13, -18.00)
CIE-LCHlch(34.22, 51.39, 339.50°)
OKLaboklab(45.3% 0.1439 -0.0483)
OKLCHoklch(45.3% 0.152 341.4)
XYZxyz(14.0890, 8.1163, 15.5734)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A296E #298A45
analogous
#76298A #8A296E #8A293D
triadic
#8A296E #6E8A29 #296E8A
tetradic
#8A296E #8A7629 #298A45 #293D8A
square
#8A296E #8A7629 #298A45 #293D8A
split-complementary
#8A296E #3D8A29 #298A76
monochromatic
#2C0D23 #5B1B48 #8A296E #B93794 #CF5EAF

Accessibility & contrast

On white

8.01
#8A296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8A296E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A296E
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A296E#FFFFFF#000000##FFFFFF
##8A296E1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304670
Deuteranopia (green-blind)
#4E566C
Tritanopia (blue-blind)
#922B48
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a296e;
/* rgb */ color: rgb(138, 41, 110);
/* oklch */ color: oklch(45.3% 0.152 341.4);
Tailwind
colors: {
  custom: {
    50: '#af6b97',
    500: '#8a296e',
    950: '#000000',
  },
}
SCSS
$custom: #8a296e;
$custom-light: #af6b97;
$custom-dark: #000000;
JSON
{
  "hex": "#8a296e",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 317.32,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45298,
    "c": 0.1518,
    "h": 341.4
  },
  "luminance": 0.08115
}

Semantic roles & 50–950 ramp

primary
#8A296E
secondary
#5AB574
accent
#DE754A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A296E

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

Preview Lab → · Contrast checker → · Palette generator →

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