#8A296D#8A296D

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

Color values

HEX#8A296D
RGBrgb(138, 41, 109)
HSLhsl(318, 54%, 35%)
HSVhsv(318, 70%, 54%)
CMYKcmyk(0%, 70.3%, 21%, 45.9%)
CIE-LABlab(34.18, 47.99, -17.44)
CIE-LCHlch(34.18, 51.06, 340.03°)
OKLaboklab(45.25% 0.1437 -0.0468)
OKLCHoklch(45.25% 0.151 342)
XYZxyz(14.0349, 8.0946, 15.2883)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A296D #298A46
analogous
#76298A #8A296D #8A293D
triadic
#8A296D #6D8A29 #296D8A
tetradic
#8A296D #8A7629 #298A46 #293D8A
square
#8A296D #8A7629 #298A46 #293D8A
split-complementary
#8A296D #3D8A29 #298A76
monochromatic
#2C0D22 #5B1B48 #8A296D #B93792 #CF5EAD

Accessibility & contrast

On white

8.02
#8A296D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A296D
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A296D#FFFFFF#000000##FFFFFF
##8A296D1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31466F
Deuteranopia (green-blind)
#4F566B
Tritanopia (blue-blind)
#932A47
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a296d;
/* rgb */ color: rgb(138, 41, 109);
/* oklch */ color: oklch(45.3% 0.151 342.0);
Tailwind
colors: {
  custom: {
    50: '#af6b97',
    500: '#8a296d',
    950: '#000000',
  },
}
SCSS
$custom: #8a296d;
$custom-light: #af6b97;
$custom-dark: #000000;
JSON
{
  "hex": "#8a296d",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 317.938,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45251,
    "c": 0.15111,
    "h": 342
  },
  "luminance": 0.08093
}

Semantic roles & 50–950 ramp

primary
#8A296D
secondary
#5AB575
accent
#DE764A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A296D

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

Preview Lab → · Contrast checker → · Palette generator →

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