#8A1640#8A1640

#8A1640 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.9% C 0.151 H 6.0°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#8A1640
RGBrgb(138, 22, 64)
HSLhsl(338, 73%, 31%)
HSVhsv(338, 84%, 54%)
CMYKcmyk(0%, 84.1%, 53.6%, 45.9%)
CIE-LABlab(30.28, 49.22, 6.04)
CIE-LCHlch(30.28, 49.59, 6.99°)
OKLaboklab(41.86% 0.1505 0.0157)
OKLCHoklch(41.86% 0.151 6)
XYZxyz(11.6946, 6.3489, 5.4592)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1640 #168A60
analogous
#8A167A #8A1640 #8A2616
triadic
#8A1640 #408A16 #16408A
tetradic
#8A1640 #7A8A16 #168A60 #26168A
square
#8A1640 #7A8A16 #168A60 #26168A
split-complementary
#8A1640 #168A26 #167A8A
monochromatic
#20050F #550E28 #8A1640 #BF1E58 #E03B76

Accessibility & contrast

On white

9.25
#8A1640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1640
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1640#FFFFFF#000000##FFFFFF
##8A16401.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363941
Deuteranopia (green-blind)
#544F3D
Tritanopia (blue-blind)
#970029
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1640;
/* rgb */ color: rgb(138, 22, 64);
/* oklch */ color: oklch(41.9% 0.151 6.0);
Tailwind
colors: {
  custom: {
    50: '#b26274',
    500: '#8a1640',
    950: '#000000',
  },
}
SCSS
$custom: #8a1640;
$custom-light: #b26274;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1640",
  "rgb": {
    "r": 138,
    "g": 22,
    "b": 64
  },
  "hsl": {
    "h": 338.276,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41859,
    "c": 0.15127,
    "h": 6
  },
  "luminance": 0.06347
}

Semantic roles & 50–950 ramp

primary
#8A1640
secondary
#3EBE90
accent
#EFAD39
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1640

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

Preview Lab → · Contrast checker → · Palette generator →

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