#8A2160#8A2160

#8A2160 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.9% C 0.153 H 348.5°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#8A2160
RGBrgb(138, 33, 96)
HSLhsl(324, 61%, 34%)
HSVhsv(324, 76%, 54%)
CMYKcmyk(0%, 76.1%, 30.4%, 45.9%)
CIE-LABlab(32.56, 49.20, -11.59)
CIE-LCHlch(32.56, 50.55, 346.74°)
OKLaboklab(43.89% 0.15 -0.0304)
OKLCHoklch(43.89% 0.153 348.5)
XYZxyz(13.1371, 7.3370, 11.7884)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2160 #218A4B
analogous
#7F218A #8A2160 #8A212B
triadic
#8A2160 #608A21 #21608A
tetradic
#8A2160 #8A7F21 #218A4B #212B8A
square
#8A2160 #8A7F21 #218A4B #212B8A
split-complementary
#8A2160 #2B8A21 #218A7F
monochromatic
#27091B #59153E #8A2160 #BB2D82 #D550A0

Accessibility & contrast

On white

8.51
#8A2160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2160
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2160#FFFFFF#000000##FFFFFF
##8A21601.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314162
Deuteranopia (green-blind)
#50535E
Tritanopia (blue-blind)
#941C3D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a2160;
/* rgb */ color: rgb(138, 33, 96);
/* oklch */ color: oklch(43.9% 0.153 348.5);
Tailwind
colors: {
  custom: {
    50: '#b0678d',
    500: '#8a2160',
    950: '#000000',
  },
}
SCSS
$custom: #8a2160;
$custom-light: #b0678d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2160",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 324,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4389,
    "c": 0.15308,
    "h": 348.5
  },
  "luminance": 0.07336
}

Semantic roles & 50–950 ramp

primary
#8A2160
secondary
#4EB979
accent
#E58443
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2160

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

Preview Lab → · Contrast checker → · Palette generator →

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