#8E1F47#8E1F47

#8E1F47 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.5% C 0.148 H 4.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#8E1F47
RGBrgb(142, 31, 71)
HSLhsl(338, 64%, 34%)
HSVhsv(338, 78%, 56%)
CMYKcmyk(0%, 78.2%, 50%, 44.3%)
CIE-LABlab(32.23, 48.29, 4.30)
CIE-LCHlch(32.23, 48.48, 5.09°)
OKLaboklab(43.51% 0.1478 0.0115)
OKLCHoklch(43.51% 0.148 4.4)
XYZxyz(12.7837, 7.1874, 6.6742)
Luminance0.0719 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F47 #1F8E66
analogous
#8E1F7F #8E1F47 #8E2E1F
triadic
#8E1F47 #478E1F #1F478E
tetradic
#8E1F47 #7F8E1F #1F8E66 #2E1F8E
square
#8E1F47 #7F8E1F #1F8E66 #2E1F8E
split-complementary
#8E1F47 #1F8E2E #1F7F8E
monochromatic
#2A0915 #5C142E #8E1F47 #C02A60 #D94F80

Accessibility & contrast

On white

8.62
#8E1F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8E1F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F47
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F47#FFFFFF#000000##FFFFFF
##8E1F471.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3E48
Deuteranopia (green-blind)
#585444
Tritanopia (blue-blind)
#9B0330
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1f47;
/* rgb */ color: rgb(142, 31, 71);
/* oklch */ color: oklch(43.5% 0.148 4.4);
Tailwind
colors: {
  custom: {
    50: '#b4667a',
    500: '#8e1f47',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f47;
$custom-light: #b4667a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f47",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 71
  },
  "hsl": {
    "h": 338.378,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43505,
    "c": 0.14823,
    "h": 4.4
  },
  "luminance": 0.07186
}

Semantic roles & 50–950 ramp

primary
#8E1F47
secondary
#4DBB94
accent
#E7AB41
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1F47

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

Preview Lab → · Contrast checker → · Palette generator →

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