#8E1F4E#8E1F4E

#8E1F4E is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.7% C 0.150 H 0.2°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#8E1F4E
RGBrgb(142, 31, 78)
HSLhsl(335, 64%, 34%)
HSVhsv(335, 78%, 56%)
CMYKcmyk(0%, 78.2%, 45.1%, 44.3%)
CIE-LABlab(32.44, 48.96, 0.01)
CIE-LCHlch(32.44, 48.96, 0.01°)
OKLaboklab(43.73% 0.1503 0.0006)
OKLCHoklch(43.73% 0.15 0.2)
XYZxyz(13.0215, 7.2825, 7.9262)
Luminance0.0728 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F4E #1F8E5F
analogous
#8E1F86 #8E1F4E #8E281F
triadic
#8E1F4E #4E8E1F #1F4E8E
tetradic
#8E1F4E #868E1F #1F8E5F #281F8E
square
#8E1F4E #868E1F #1F8E5F #281F8E
split-complementary
#8E1F4E #1F8E28 #1F868E
monochromatic
#2A0917 #5C1432 #8E1F4E #C02A6A #D94F89

Accessibility & contrast

On white

8.55
#8E1F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8E1F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F4E
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F4E#FFFFFF#000000##FFFFFF
##8E1F4E1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383F4F
Deuteranopia (green-blind)
#56544B
Tritanopia (blue-blind)
#9A0934
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1f4e;
/* rgb */ color: rgb(142, 31, 78);
/* oklch */ color: oklch(43.7% 0.150 0.2);
Tailwind
colors: {
  custom: {
    50: '#b4667f',
    500: '#8e1f4e',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f4e;
$custom-light: #b4667f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f4e",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 334.595,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4373,
    "c": 0.15034,
    "h": 0.2
  },
  "luminance": 0.07281
}

Semantic roles & 50–950 ramp

primary
#8E1F4E
secondary
#4DBB8D
accent
#E7A141
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E1F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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