#8A2164#8A2164

#8A2164 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.1% C 0.155 H 346.3°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#8A2164
RGBrgb(138, 33, 100)
HSLhsl(322, 61%, 34%)
HSVhsv(322, 76%, 54%)
CMYKcmyk(0%, 76.1%, 27.5%, 45.9%)
CIE-LABlab(32.73, 49.72, -13.92)
CIE-LCHlch(32.73, 51.63, 344.36°)
OKLaboklab(44.07% 0.151 -0.0369)
OKLCHoklch(44.07% 0.155 346.3)
XYZxyz(13.3259, 7.4125, 12.7831)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2164 #218A47
analogous
#7B218A #8A2164 #8A212F
triadic
#8A2164 #648A21 #21648A
tetradic
#8A2164 #8A7B21 #218A47 #212F8A
square
#8A2164 #8A7B21 #218A47 #212F8A
split-complementary
#8A2164 #2F8A21 #218A7B
monochromatic
#27091C #591540 #8A2164 #BB2D88 #D550A5

Accessibility & contrast

On white

8.46
#8A2164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8A2164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2164
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2164#FFFFFF#000000##FFFFFF
##8A21641.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4266
Deuteranopia (green-blind)
#4F5362
Tritanopia (blue-blind)
#941E3F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a2164;
/* rgb */ color: rgb(138, 33, 100);
/* oklch */ color: oklch(44.1% 0.155 346.3);
Tailwind
colors: {
  custom: {
    50: '#b06790',
    500: '#8a2164',
    950: '#000000',
  },
}
SCSS
$custom: #8a2164;
$custom-light: #b06790;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2164",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 100
  },
  "hsl": {
    "h": 321.714,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44065,
    "c": 0.1554,
    "h": 346.3
  },
  "luminance": 0.07411
}

Semantic roles & 50–950 ramp

primary
#8A2164
secondary
#4EB975
accent
#E57E43
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2164

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

Preview Lab → · Contrast checker → · Palette generator →

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