#8E1F48#8E1F48

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

Color values

HEX#8E1F48
RGBrgb(142, 31, 72)
HSLhsl(338, 64%, 34%)
HSVhsv(338, 78%, 56%)
CMYKcmyk(0%, 78.2%, 49.3%, 44.3%)
CIE-LABlab(32.26, 48.38, 3.68)
CIE-LCHlch(32.26, 48.52, 4.35°)
OKLaboklab(43.54% 0.1482 0.0099)
OKLCHoklch(43.54% 0.148 3.8)
XYZxyz(12.8161, 7.2004, 6.8446)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F48 #1F8E65
analogous
#8E1F80 #8E1F48 #8E2E1F
triadic
#8E1F48 #488E1F #1F488E
tetradic
#8E1F48 #808E1F #1F8E65 #2E1F8E
square
#8E1F48 #808E1F #1F8E65 #2E1F8E
split-complementary
#8E1F48 #1F8E2E #1F808E
monochromatic
#2A0915 #5C142F #8E1F48 #C02A61 #D94F82

Accessibility & contrast

On white

8.61
#8E1F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1F48
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F48#FFFFFF#000000##FFFFFF
##8E1F481.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3E49
Deuteranopia (green-blind)
#575445
Tritanopia (blue-blind)
#9B0431
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1f48;
/* rgb */ color: rgb(142, 31, 72);
/* oklch */ color: oklch(43.5% 0.148 3.8);
Tailwind
colors: {
  custom: {
    50: '#b4667a',
    500: '#8e1f48',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f48;
$custom-light: #b4667a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f48",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 72
  },
  "hsl": {
    "h": 337.838,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43536,
    "c": 0.14849,
    "h": 3.8
  },
  "luminance": 0.07199
}

Semantic roles & 50–950 ramp

primary
#8E1F48
secondary
#4DBB93
accent
#E7AA41
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1F48

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

Preview Lab → · Contrast checker → · Palette generator →

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