#8A296F#8A296F

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

Color values

HEX#8A296F
RGBrgb(138, 41, 111)
HSLhsl(317, 54%, 35%)
HSVhsv(317, 70%, 54%)
CMYKcmyk(0%, 70.3%, 19.6%, 45.9%)
CIE-LABlab(34.27, 48.28, -18.56)
CIE-LCHlch(34.27, 51.73, 338.97°)
OKLaboklab(45.35% 0.1441 -0.0499)
OKLCHoklch(45.35% 0.152 340.9)
XYZxyz(14.1438, 8.1382, 15.8618)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A296F #298A44
analogous
#74298A #8A296F #8A293E
triadic
#8A296F #6F8A29 #296F8A
tetradic
#8A296F #8A7429 #298A44 #293E8A
square
#8A296F #8A7429 #298A44 #293E8A
split-complementary
#8A296F #3E8A29 #298A74
monochromatic
#2C0D23 #5B1B49 #8A296F #B93795 #CF5EB0

Accessibility & contrast

On white

7.99
#8A296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8A296F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A296F
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A296F#FFFFFF#000000##FFFFFF
##8A296F1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304771
Deuteranopia (green-blind)
#4E566D
Tritanopia (blue-blind)
#922B48
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a296f;
/* rgb */ color: rgb(138, 41, 111);
/* oklch */ color: oklch(45.3% 0.152 340.9);
Tailwind
colors: {
  custom: {
    50: '#af6b98',
    500: '#8a296f',
    950: '#000000',
  },
}
SCSS
$custom: #8a296f;
$custom-light: #af6b98;
$custom-dark: #000000;
JSON
{
  "hex": "#8a296f",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 316.701,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45346,
    "c": 0.15249,
    "h": 340.9
  },
  "luminance": 0.08137
}

Semantic roles & 50–950 ramp

primary
#8A296F
secondary
#5AB573
accent
#DE734A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A296F

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

Preview Lab → · Contrast checker → · Palette generator →

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