#8E2168#8E2168

#8E2168 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.9% C 0.161 H 345.6°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#8E2168
RGBrgb(142, 33, 104)
HSLhsl(321, 62%, 34%)
HSVhsv(321, 77%, 56%)
CMYKcmyk(0%, 76.8%, 26.8%, 44.3%)
CIE-LABlab(33.65, 51.31, -15.01)
CIE-LCHlch(33.65, 53.46, 343.69°)
OKLaboklab(44.93% 0.1556 -0.0399)
OKLCHoklch(44.93% 0.161 345.6)
XYZxyz(14.1985, 7.8395, 13.8595)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2168 #218E47
analogous
#7E218E #8E2168 #8E2132
triadic
#8E2168 #688E21 #21688E
tetradic
#8E2168 #8E7E21 #218E47 #21328E
square
#8E2168 #8E7E21 #218E47 #21328E
split-complementary
#8E2168 #328E21 #218E7E
monochromatic
#2B0A1F #5C1544 #8E2168 #C02D8C #D752A9

Accessibility & contrast

On white

8.18
#8E2168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8E2168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2168
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2168#FFFFFF#000000##FFFFFF
##8E21681.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F436A
Deuteranopia (green-blind)
#505666
Tritanopia (blue-blind)
#981F42
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e2168;
/* rgb */ color: rgb(142, 33, 104);
/* oklch */ color: oklch(44.9% 0.161 345.6);
Tailwind
colors: {
  custom: {
    50: '#b36893',
    500: '#8e2168',
    950: '#000000',
  },
}
SCSS
$custom: #8e2168;
$custom-light: #b36893;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2168",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 320.917,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44928,
    "c": 0.16066,
    "h": 345.6
  },
  "luminance": 0.07838
}

Semantic roles & 50–950 ramp

primary
#8E2168
secondary
#50BA75
accent
#E57B42
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E2168

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

Preview Lab → · Contrast checker → · Palette generator →

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