#8A163B#8A163B

#8A163B is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.150 H 8.9°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#8A163B
RGBrgb(138, 22, 59)
HSLhsl(341, 73%, 31%)
HSVhsv(341, 84%, 54%)
CMYKcmyk(0%, 84.1%, 57.2%, 45.9%)
CIE-LABlab(30.14, 48.82, 9.19)
CIE-LCHlch(30.14, 49.68, 10.66°)
OKLaboklab(41.72% 0.1485 0.0233)
OKLCHoklch(41.72% 0.15 8.9)
XYZxyz(11.5587, 6.2946, 4.7432)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A163B #168A65
analogous
#8A1675 #8A163B #8A2B16
triadic
#8A163B #3B8A16 #163B8A
tetradic
#8A163B #758A16 #168A65 #2B168A
square
#8A163B #758A16 #168A65 #2B168A
split-complementary
#8A163B #168A2B #16758A
monochromatic
#20050E #550E24 #8A163B #BF1E52 #E03B6F

Accessibility & contrast

On white

9.30
#8A163B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#8A163B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A163B
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A163B#FFFFFF#000000##FFFFFF
##8A163B1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37383C
Deuteranopia (green-blind)
#554F38
Tritanopia (blue-blind)
#970027
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a163b;
/* rgb */ color: rgb(138, 22, 59);
/* oklch */ color: oklch(41.7% 0.150 8.9);
Tailwind
colors: {
  custom: {
    50: '#b26270',
    500: '#8a163b',
    950: '#000000',
  },
}
SCSS
$custom: #8a163b;
$custom-light: #b26270;
$custom-dark: #000000;
JSON
{
  "hex": "#8a163b",
  "rgb": {
    "r": 138,
    "g": 22,
    "b": 59
  },
  "hsl": {
    "h": 340.862,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41719,
    "c": 0.15028,
    "h": 8.9
  },
  "luminance": 0.06293
}

Semantic roles & 50–950 ramp

primary
#8A163B
secondary
#3EBE95
accent
#EFB539
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A163B

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

Preview Lab → · Contrast checker → · Palette generator →

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