#8A2A6F#8A2A6F

#8A2A6F is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.151 H 341.0°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#8A2A6F
RGBrgb(138, 42, 111)
HSLhsl(317, 53%, 35%)
HSVhsv(317, 70%, 54%)
CMYKcmyk(0%, 69.6%, 19.6%, 45.9%)
CIE-LABlab(34.41, 47.88, -18.34)
CIE-LCHlch(34.41, 51.27, 339.04°)
OKLaboklab(45.45% 0.1429 -0.0493)
OKLCHoklch(45.45% 0.151 341)
XYZxyz(14.1788, 8.2082, 15.8735)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A6F #2A8A45
analogous
#752A8A #8A2A6F #8A2A3F
triadic
#8A2A6F #6F8A2A #2A6F8A
tetradic
#8A2A6F #8A752A #2A8A45 #2A3F8A
square
#8A2A6F #8A752A #2A8A45 #2A3F8A
split-complementary
#8A2A6F #3F8A2A #2A8A75
monochromatic
#2C0D24 #5B1C49 #8A2A6F #B93895 #CF60AF

Accessibility & contrast

On white

7.95
#8A2A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8A2A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2A6F
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A6F#FFFFFF#000000##FFFFFF
##8A2A6F1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314771
Deuteranopia (green-blind)
#4E576D
Tritanopia (blue-blind)
#922C48
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2a6f;
/* rgb */ color: rgb(138, 42, 111);
/* oklch */ color: oklch(45.5% 0.151 341.0);
Tailwind
colors: {
  custom: {
    50: '#af6c98',
    500: '#8a2a6f',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a6f;
$custom-light: #af6c98;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a6f",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 316.875,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45451,
    "c": 0.15113,
    "h": 341
  },
  "luminance": 0.08207
}

Semantic roles & 50–950 ramp

primary
#8A2A6F
secondary
#5BB474
accent
#DD744B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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