#8A2A66#8A2A66

#8A2A66 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.0% C 0.145 H 346.1°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#8A2A66
RGBrgb(138, 42, 102)
HSLhsl(323, 53%, 35%)
HSVhsv(323, 70%, 54%)
CMYKcmyk(0%, 69.6%, 26.1%, 45.9%)
CIE-LABlab(34.02, 46.59, -13.22)
CIE-LCHlch(34.02, 48.43, 344.16°)
OKLaboklab(45.04% 0.1409 -0.035)
OKLCHoklch(45.04% 0.145 346.1)
XYZxyz(13.7080, 8.0199, 13.3939)
Luminance0.0802 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A66 #2A8A4E
analogous
#7E2A8A #8A2A66 #8A2A36
triadic
#8A2A66 #668A2A #2A668A
tetradic
#8A2A66 #8A7E2A #2A8A4E #2A368A
square
#8A2A66 #8A7E2A #2A8A4E #2A368A
split-complementary
#8A2A66 #368A2A #2A8A7E
monochromatic
#2C0D21 #5B1C43 #8A2A66 #B93889 #CF60A5

Accessibility & contrast

On white

8.07
#8A2A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8A2A66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2A66
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A66#FFFFFF#000000##FFFFFF
##8A2A661.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354668
Deuteranopia (green-blind)
#515664
Tritanopia (blue-blind)
#932844
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2a66;
/* rgb */ color: rgb(138, 42, 102);
/* oklch */ color: oklch(45.0% 0.145 346.1);
Tailwind
colors: {
  custom: {
    50: '#af6b91',
    500: '#8a2a66',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a66;
$custom-light: #af6b91;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a66",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 102
  },
  "hsl": {
    "h": 322.5,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45039,
    "c": 0.1452,
    "h": 346.1
  },
  "luminance": 0.08019
}

Semantic roles & 50–950 ramp

primary
#8A2A66
secondary
#5BB47D
accent
#DD824B
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2A66

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

Preview Lab → · Contrast checker → · Palette generator →

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