#8A2A68#8A2A68

#8A2A68 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.1% C 0.146 H 344.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8A2A68
RGBrgb(138, 42, 104)
HSLhsl(321, 53%, 35%)
HSVhsv(321, 70%, 54%)
CMYKcmyk(0%, 69.6%, 24.6%, 45.9%)
CIE-LABlab(34.11, 46.87, -14.37)
CIE-LCHlch(34.11, 49.02, 342.96°)
OKLaboklab(45.13% 0.1414 -0.0382)
OKLCHoklch(45.13% 0.146 344.9)
XYZxyz(13.8084, 8.0601, 13.9226)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A68 #2A8A4C
analogous
#7C2A8A #8A2A68 #8A2A38
triadic
#8A2A68 #688A2A #2A688A
tetradic
#8A2A68 #8A7C2A #2A8A4C #2A388A
square
#8A2A68 #8A7C2A #2A8A4C #2A388A
split-complementary
#8A2A68 #388A2A #2A8A7C
monochromatic
#2C0D21 #5B1C45 #8A2A68 #B9388B #CF60A7

Accessibility & contrast

On white

8.04
#8A2A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8A2A68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2A68
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A68#FFFFFF#000000##FFFFFF
##8A2A681.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34466A
Deuteranopia (green-blind)
#515666
Tritanopia (blue-blind)
#932945
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2a68;
/* rgb */ color: rgb(138, 42, 104);
/* oklch */ color: oklch(45.1% 0.146 344.9);
Tailwind
colors: {
  custom: {
    50: '#af6b93',
    500: '#8a2a68',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a68;
$custom-light: #af6b93;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a68",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 104
  },
  "hsl": {
    "h": 321.25,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45128,
    "c": 0.14646,
    "h": 344.9
  },
  "luminance": 0.08059
}

Semantic roles & 50–950 ramp

primary
#8A2A68
secondary
#5BB47B
accent
#DD7F4B
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2A68

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

Preview Lab → · Contrast checker → · Palette generator →

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