#8E264C#8E264C

#8E264C is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.3% C 0.142 H 2.8°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#8E264C
RGBrgb(142, 38, 76)
HSLhsl(338, 58%, 35%)
HSVhsv(338, 73%, 56%)
CMYKcmyk(0%, 73.2%, 46.5%, 44.3%)
CIE-LABlab(33.27, 46.28, 2.51)
CIE-LCHlch(33.27, 46.35, 3.11°)
OKLaboklab(44.32% 0.1417 0.007)
OKLCHoklch(44.32% 0.142 2.8)
XYZxyz(13.1540, 7.6605, 7.6220)
Luminance0.0766 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E264C #268E68
analogous
#8E2680 #8E264C #8E3426
triadic
#8E264C #4C8E26 #264C8E
tetradic
#8E264C #808E26 #268E68 #34268E
square
#8E264C #808E26 #268E68 #34268E
split-complementary
#8E264C #268E34 #26808E
monochromatic
#2D0C18 #5E1932 #8E264C #BE3366 #D35B87

Accessibility & contrast

On white

8.29
#8E264C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8E264C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E264C
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E264C#FFFFFF#000000##FFFFFF
##8E264C1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D414D
Deuteranopia (green-blind)
#59564A
Tritanopia (blue-blind)
#9A1536
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e264c;
/* rgb */ color: rgb(142, 38, 76);
/* oklch */ color: oklch(44.3% 0.142 2.8);
Tailwind
colors: {
  custom: {
    50: '#b4697d',
    500: '#8e264c',
    950: '#000000',
  },
}
SCSS
$custom: #8e264c;
$custom-light: #b4697d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e264c",
  "rgb": {
    "r": 142,
    "g": 38,
    "b": 76
  },
  "hsl": {
    "h": 338.077,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44317,
    "c": 0.14184,
    "h": 2.8
  },
  "luminance": 0.07659
}

Semantic roles & 50–950 ramp

primary
#8E264C
secondary
#58B895
accent
#E1A947
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120709
muted
#817A7B

Preview Lab

Preview with #8E264C

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

Preview Lab → · Contrast checker → · Palette generator →

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