#8E163A#8E163A

#8E163A is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.154 H 10.4°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#8E163A
RGBrgb(142, 22, 58)
HSLhsl(342, 73%, 32%)
HSVhsv(342, 85%, 56%)
CMYKcmyk(0%, 84.5%, 59.2%, 44.3%)
CIE-LABlab(30.95, 49.88, 11.10)
CIE-LCHlch(30.95, 51.10, 12.54°)
OKLaboklab(42.45% 0.1512 0.0278)
OKLCHoklch(42.45% 0.154 10.4)
XYZxyz(12.2072, 6.6319, 4.6395)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E163A #168E6A
analogous
#8E1676 #8E163A #8E2E16
triadic
#8E163A #3A8E16 #163A8E
tetradic
#8E163A #768E16 #168E6A #2E168E
square
#8E163A #768E16 #168E6A #2E168E
split-complementary
#8E163A #168E2E #16768E
monochromatic
#24060F #590E24 #8E163A #C31E50 #E13D6E

Accessibility & contrast

On white

9.03
#8E163A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8E163A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E163A
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E163A#FFFFFF#000000##FFFFFF
##8E163A1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39393B
Deuteranopia (green-blind)
#585137
Tritanopia (blue-blind)
#9C0026
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e163a;
/* rgb */ color: rgb(142, 22, 58);
/* oklch */ color: oklch(42.5% 0.154 10.4);
Tailwind
colors: {
  custom: {
    50: '#b6626f',
    500: '#8e163a',
    950: '#000000',
  },
}
SCSS
$custom: #8e163a;
$custom-light: #b6626f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e163a",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 58
  },
  "hsl": {
    "h": 342,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42454,
    "c": 0.15374,
    "h": 10.4
  },
  "luminance": 0.0663
}

Semantic roles & 50–950 ramp

primary
#8E163A
secondary
#3FC19A
accent
#F0B938
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E163A

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

Preview Lab → · Contrast checker → · Palette generator →

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