#8E0F40#8E0F40

#8E0F40 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.160 H 6.1°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#8E0F40
RGBrgb(142, 15, 64)
HSLhsl(337, 81%, 31%)
HSVhsv(337, 89%, 56%)
CMYKcmyk(0%, 89.4%, 54.9%, 44.3%)
CIE-LABlab(30.56, 51.91, 6.55)
CIE-LCHlch(30.56, 52.33, 7.19°)
OKLaboklab(42.21% 0.1587 0.0169)
OKLCHoklch(42.21% 0.16 6.1)
XYZxyz(12.2528, 6.4644, 5.4521)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E0F40 #0F8E5D
analogous
#8E0F7F #8E0F40 #8E1D0F
triadic
#8E0F40 #408E0F #0F408E
tetradic
#8E0F40 #7F8E0F #0F8E5D #1D0F8E
square
#8E0F40 #7F8E0F #0F8E5D #1D0F8E
split-complementary
#8E0F40 #0F8E1D #0F7F8E
monochromatic
#1F030E #570927 #8E0F40 #C51559 #E92E76

Accessibility & contrast

On white

9.16
#8E0F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8E0F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E0F40
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E0F40#FFFFFF#000000##FFFFFF
##8E0F401.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353841
Deuteranopia (green-blind)
#55513D
Tritanopia (blue-blind)
#9B0027
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e0f40;
/* rgb */ color: rgb(142, 15, 64);
/* oklch */ color: oklch(42.2% 0.160 6.1);
Tailwind
colors: {
  custom: {
    50: '#b56174',
    500: '#8e0f40',
    950: '#000000',
  },
}
SCSS
$custom: #8e0f40;
$custom-light: #b56174;
$custom-dark: #000000;
JSON
{
  "hex": "#8e0f40",
  "rgb": {
    "r": 142,
    "g": 15,
    "b": 64
  },
  "hsl": {
    "h": 336.85,
    "s": 80.892,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42212,
    "c": 0.15963,
    "h": 6.1
  },
  "luminance": 0.06463
}

Semantic roles & 50–950 ramp

primary
#8E0F40
secondary
#36C38C
accent
#F7AB31
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E0F40

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

Preview Lab → · Contrast checker → · Palette generator →

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