#8E164F#8E164F

#8E164F is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.159 H 358.4°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#8E164F
RGBrgb(142, 22, 79)
HSLhsl(332, 73%, 32%)
HSVhsv(332, 85%, 56%)
CMYKcmyk(0%, 84.5%, 44.4%, 44.3%)
CIE-LABlab(31.56, 51.66, -1.94)
CIE-LCHlch(31.56, 51.70, 357.85°)
OKLaboklab(43.09% 0.1591 -0.0045)
OKLCHoklch(43.09% 0.159 358.4)
XYZxyz(12.8545, 6.8909, 8.0488)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E164F #168E55
analogous
#8E168B #8E164F #8E1916
triadic
#8E164F #4F8E16 #164F8E
tetradic
#8E164F #8B8E16 #168E55 #19168E
square
#8E164F #8B8E16 #168E55 #19168E
split-complementary
#8E164F #168E19 #168B8E
monochromatic
#240614 #590E32 #8E164F #C31E6C #E13D8B

Accessibility & contrast

On white

8.83
#8E164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8E164F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E164F
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E164F#FFFFFF#000000##FFFFFF
##8E164F1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333C50
Deuteranopia (green-blind)
#54524C
Tritanopia (blue-blind)
#9A0031
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e164f;
/* rgb */ color: rgb(142, 22, 79);
/* oklch */ color: oklch(43.1% 0.159 358.4);
Tailwind
colors: {
  custom: {
    50: '#b46380',
    500: '#8e164f',
    950: '#000000',
  },
}
SCSS
$custom: #8e164f;
$custom-light: #b46380;
$custom-dark: #000000;
JSON
{
  "hex": "#8e164f",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 331.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43093,
    "c": 0.15912,
    "h": 358.4
  },
  "luminance": 0.06889
}

Semantic roles & 50–950 ramp

primary
#8E164F
secondary
#3FC183
accent
#F09838
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E164F

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

Preview Lab → · Contrast checker → · Palette generator →

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