#8E1246#8E1246

#8E1246 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.6% C 0.159 H 3.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#8E1246
RGBrgb(142, 18, 70)
HSLhsl(335, 78%, 31%)
HSVhsv(335, 87%, 56%)
CMYKcmyk(0%, 87.3%, 50.7%, 44.3%)
CIE-LABlab(30.94, 51.78, 3.11)
CIE-LCHlch(30.94, 51.87, 3.44°)
OKLaboklab(42.55% 0.159 0.0085)
OKLCHoklch(42.55% 0.159 3)
XYZxyz(12.4783, 6.6274, 6.4153)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1246 #128E5A
analogous
#8E1284 #8E1246 #8E1C12
triadic
#8E1246 #468E12 #12468E
tetradic
#8E1246 #848E12 #128E5A #1C128E
square
#8E1246 #848E12 #128E5A #1C128E
split-complementary
#8E1246 #128E1C #12848E
monochromatic
#210410 #580B2B #8E1246 #C41961 #E5357F

Accessibility & contrast

On white

9.03
#8E1246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8E1246 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1246
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1246#FFFFFF#000000##FFFFFF
##8E12461.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353A47
Deuteranopia (green-blind)
#555143
Tritanopia (blue-blind)
#9B002B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1246;
/* rgb */ color: rgb(142, 18, 70);
/* oklch */ color: oklch(42.6% 0.159 3.0);
Tailwind
colors: {
  custom: {
    50: '#b56279',
    500: '#8e1246',
    950: '#000000',
  },
}
SCSS
$custom: #8e1246;
$custom-light: #b56279;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1246",
  "rgb": {
    "r": 142,
    "g": 18,
    "b": 70
  },
  "hsl": {
    "h": 334.839,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42552,
    "c": 0.15919,
    "h": 3
  },
  "luminance": 0.06626
}

Semantic roles & 50–950 ramp

primary
#8E1246
secondary
#3AC289
accent
#F4A334
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1246

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

Preview Lab → · Contrast checker → · Palette generator →

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