#8A1668#8A1668

#8A1668 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.4% C 0.169 H 343.4°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#8A1668
RGBrgb(138, 22, 104)
HSLhsl(318, 73%, 31%)
HSVhsv(318, 84%, 54%)
CMYKcmyk(0%, 84.1%, 24.6%, 45.9%)
CIE-LABlab(31.76, 53.52, -17.98)
CIE-LCHlch(31.76, 56.46, 341.43°)
OKLaboklab(43.42% 0.1619 -0.0482)
OKLCHoklch(43.42% 0.169 343.4)
XYZxyz(13.2674, 6.9780, 13.7422)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1668 #168A38
analogous
#72168A #8A1668 #8A162E
triadic
#8A1668 #688A16 #16688A
tetradic
#8A1668 #8A7216 #168A38 #162E8A
square
#8A1668 #8A7216 #168A38 #162E8A
split-complementary
#8A1668 #2E8A16 #168A72
monochromatic
#200518 #550E40 #8A1668 #BF1E90 #E03BAF

Accessibility & contrast

On white

8.77
#8A1668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8A1668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1668
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1668#FFFFFF#000000##FFFFFF
##8A16681.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253F6A
Deuteranopia (green-blind)
#4A5165
Tritanopia (blue-blind)
#93163E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1668;
/* rgb */ color: rgb(138, 22, 104);
/* oklch */ color: oklch(43.4% 0.169 343.4);
Tailwind
colors: {
  custom: {
    50: '#b06393',
    500: '#8a1668',
    950: '#000000',
  },
}
SCSS
$custom: #8a1668;
$custom-light: #b06393;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1668",
  "rgb": {
    "r": 138,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 317.586,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4342,
    "c": 0.1689,
    "h": 343.4
  },
  "luminance": 0.06977
}

Semantic roles & 50–950 ramp

primary
#8A1668
secondary
#3EBE63
accent
#EF6E39
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A1668

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

Preview Lab → · Contrast checker → · Palette generator →

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