#8E163F#8E163F

#8E163F is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.155 H 7.6°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#8E163F
RGBrgb(142, 22, 63)
HSLhsl(340, 73%, 32%)
HSVhsv(340, 85%, 56%)
CMYKcmyk(0%, 84.5%, 55.6%, 44.3%)
CIE-LABlab(31.08, 50.26, 7.95)
CIE-LCHlch(31.08, 50.88, 8.99°)
OKLaboklab(42.59% 0.1532 0.0204)
OKLCHoklch(42.59% 0.155 7.6)
XYZxyz(12.3406, 6.6853, 5.3422)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E163F #168E65
analogous
#8E167B #8E163F #8E2916
triadic
#8E163F #3F8E16 #163F8E
tetradic
#8E163F #7B8E16 #168E65 #29168E
square
#8E163F #7B8E16 #168E65 #29168E
split-complementary
#8E163F #168E29 #167B8E
monochromatic
#240610 #590E27 #8E163F #C31E57 #E13D75

Accessibility & contrast

On white

8.99
#8E163F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8E163F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E163F
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E163F#FFFFFF#000000##FFFFFF
##8E163F1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383A40
Deuteranopia (green-blind)
#57523C
Tritanopia (blue-blind)
#9C0029
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e163f;
/* rgb */ color: rgb(142, 22, 63);
/* oklch */ color: oklch(42.6% 0.155 7.6);
Tailwind
colors: {
  custom: {
    50: '#b56273',
    500: '#8e163f',
    950: '#000000',
  },
}
SCSS
$custom: #8e163f;
$custom-light: #b56273;
$custom-dark: #000000;
JSON
{
  "hex": "#8e163f",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 63
  },
  "hsl": {
    "h": 339.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42588,
    "c": 0.15456,
    "h": 7.6
  },
  "luminance": 0.06683
}

Semantic roles & 50–950 ramp

primary
#8E163F
secondary
#3FC195
accent
#F0B138
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E163F

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

Preview Lab → · Contrast checker → · Palette generator →

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