#8E1C48#8E1C48

#8E1C48 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.151 H 3.3°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#8E1C48
RGBrgb(142, 28, 72)
HSLhsl(337, 67%, 33%)
HSVhsv(337, 80%, 56%)
CMYKcmyk(0%, 80.3%, 49.3%, 44.3%)
CIE-LABlab(31.92, 49.33, 3.20)
CIE-LCHlch(31.92, 49.44, 3.71°)
OKLaboklab(43.29% 0.1512 0.0087)
OKLCHoklch(43.29% 0.151 3.3)
XYZxyz(12.7414, 7.0509, 6.8197)
Luminance0.0705 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1C48 #1C8E62
analogous
#8E1C81 #8E1C48 #8E291C
triadic
#8E1C48 #488E1C #1C488E
tetradic
#8E1C48 #818E1C #1C8E62 #291C8E
square
#8E1C48 #818E1C #1C8E62 #291C8E
split-complementary
#8E1C48 #1C8E29 #1C818E
monochromatic
#280814 #5B122E #8E1C48 #C12662 #DB4982

Accessibility & contrast

On white

8.71
#8E1C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8E1C48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1C48
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1C48#FFFFFF#000000##FFFFFF
##8E1C481.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383D49
Deuteranopia (green-blind)
#575345
Tritanopia (blue-blind)
#9B0030
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1c48;
/* rgb */ color: rgb(142, 28, 72);
/* oklch */ color: oklch(43.3% 0.151 3.3);
Tailwind
colors: {
  custom: {
    50: '#b5657a',
    500: '#8e1c48',
    950: '#000000',
  },
}
SCSS
$custom: #8e1c48;
$custom-light: #b5657a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1c48",
  "rgb": {
    "r": 142,
    "g": 28,
    "b": 72
  },
  "hsl": {
    "h": 336.842,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43289,
    "c": 0.15147,
    "h": 3.3
  },
  "luminance": 0.07049
}

Semantic roles & 50–950 ramp

primary
#8E1C48
secondary
#49BD90
accent
#EAA83E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1C48

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

Preview Lab → · Contrast checker → · Palette generator →

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