#8A2A6A#8A2A6A

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

Color values

HEX#8A2A6A
RGBrgb(138, 42, 106)
HSLhsl(320, 53%, 35%)
HSVhsv(320, 70%, 54%)
CMYKcmyk(0%, 69.6%, 23.2%, 45.9%)
CIE-LABlab(34.19, 47.15, -15.51)
CIE-LCHlch(34.19, 49.64, 341.79°)
OKLaboklab(45.22% 0.1418 -0.0414)
OKLCHoklch(45.22% 0.148 343.7)
XYZxyz(13.9112, 8.1012, 14.4639)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A6A #2A8A4A
analogous
#7A2A8A #8A2A6A #8A2A3A
triadic
#8A2A6A #6A8A2A #2A6A8A
tetradic
#8A2A6A #8A7A2A #2A8A4A #2A3A8A
square
#8A2A6A #8A7A2A #2A8A4A #2A3A8A
split-complementary
#8A2A6A #3A8A2A #2A8A7A
monochromatic
#2C0D22 #5B1C46 #8A2A6A #B9388E #CF60AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2A6A#FFFFFF#000000##FFFFFF
##8A2A6A1.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)
#33466C
Deuteranopia (green-blind)
#505668
Tritanopia (blue-blind)
#932A46
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2a6a;
/* rgb */ color: rgb(138, 42, 106);
/* oklch */ color: oklch(45.2% 0.148 343.7);
Tailwind
colors: {
  custom: {
    50: '#af6b94',
    500: '#8a2a6a',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a6a;
$custom-light: #af6b94;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a6a",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 106
  },
  "hsl": {
    "h": 320,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45218,
    "c": 0.14775,
    "h": 343.7
  },
  "luminance": 0.081
}

Semantic roles & 50–950 ramp

primary
#8A2A6A
secondary
#5BB479
accent
#DD7C4B
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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