#8A2161#8A2161

#8A2161 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.9% C 0.154 H 348.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#8A2161
RGBrgb(138, 33, 97)
HSLhsl(323, 61%, 34%)
HSVhsv(323, 76%, 54%)
CMYKcmyk(0%, 76.1%, 29.7%, 45.9%)
CIE-LABlab(32.60, 49.33, -12.18)
CIE-LCHlch(32.60, 50.81, 346.13°)
OKLaboklab(43.93% 0.1503 -0.032)
OKLCHoklch(43.93% 0.154 348)
XYZxyz(13.1834, 7.3555, 12.0324)
Luminance0.0735 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2161 #218A4A
analogous
#7E218A #8A2161 #8A212C
triadic
#8A2161 #618A21 #21618A
tetradic
#8A2161 #8A7E21 #218A4A #212C8A
square
#8A2161 #8A7E21 #218A4A #212C8A
split-complementary
#8A2161 #2C8A21 #218A7E
monochromatic
#27091C #59153E #8A2161 #BB2D84 #D550A1

Accessibility & contrast

On white

8.50
#8A2161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8A2161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2161
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2161#FFFFFF#000000##FFFFFF
##8A21611.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314163
Deuteranopia (green-blind)
#4F535F
Tritanopia (blue-blind)
#941C3E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a2161;
/* rgb */ color: rgb(138, 33, 97);
/* oklch */ color: oklch(43.9% 0.154 348.0);
Tailwind
colors: {
  custom: {
    50: '#b0678e',
    500: '#8a2161',
    950: '#000000',
  },
}
SCSS
$custom: #8a2161;
$custom-light: #b0678e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2161",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 97
  },
  "hsl": {
    "h": 323.429,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43933,
    "c": 0.15364,
    "h": 348
  },
  "luminance": 0.07354
}

Semantic roles & 50–950 ramp

primary
#8A2161
secondary
#4EB978
accent
#E58243
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2161

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

Preview Lab → · Contrast checker → · Palette generator →

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