#8A1642#8A1642

#8A1642 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.152 H 4.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#8A1642
RGBrgb(138, 22, 66)
HSLhsl(337, 73%, 31%)
HSVhsv(337, 84%, 54%)
CMYKcmyk(0%, 84.1%, 52.2%, 45.9%)
CIE-LABlab(30.33, 49.39, 4.79)
CIE-LCHlch(30.33, 49.62, 5.54°)
OKLaboklab(41.92% 0.1512 0.0126)
OKLCHoklch(41.92% 0.152 4.8)
XYZxyz(11.7526, 6.3721, 5.7643)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1642 #168A5E
analogous
#8A167C #8A1642 #8A2416
triadic
#8A1642 #428A16 #16428A
tetradic
#8A1642 #7C8A16 #168A5E #24168A
square
#8A1642 #7C8A16 #168A5E #24168A
split-complementary
#8A1642 #168A24 #167C8A
monochromatic
#200510 #550E29 #8A1642 #BF1E5B #E03B79

Accessibility & contrast

On white

9.23
#8A1642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#8A1642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1642
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1642#FFFFFF#000000##FFFFFF
##8A16421.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353943
Deuteranopia (green-blind)
#544F3F
Tritanopia (blue-blind)
#97002A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1642;
/* rgb */ color: rgb(138, 22, 66);
/* oklch */ color: oklch(41.9% 0.152 4.8);
Tailwind
colors: {
  custom: {
    50: '#b26276',
    500: '#8a1642',
    950: '#000000',
  },
}
SCSS
$custom: #8a1642;
$custom-light: #b26276;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1642",
  "rgb": {
    "r": 138,
    "g": 22,
    "b": 66
  },
  "hsl": {
    "h": 337.241,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41919,
    "c": 0.15175,
    "h": 4.8
  },
  "luminance": 0.0637
}

Semantic roles & 50–950 ramp

primary
#8A1642
secondary
#3EBE8D
accent
#EFAA39
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1642

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

Preview Lab → · Contrast checker → · Palette generator →

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