#8E2267#8E2267

#8E2267 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.159 H 346.3°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#8E2267
RGBrgb(142, 34, 103)
HSLhsl(322, 61%, 35%)
HSVhsv(322, 76%, 56%)
CMYKcmyk(0%, 76.1%, 27.5%, 44.3%)
CIE-LABlab(33.72, 50.84, -14.25)
CIE-LCHlch(33.72, 52.80, 344.34°)
OKLaboklab(44.97% 0.1544 -0.0378)
OKLCHoklch(44.97% 0.159 346.3)
XYZxyz(14.1762, 7.8757, 13.6029)
Luminance0.0787 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2267 #228E49
analogous
#7F228E #8E2267 #8E2231
triadic
#8E2267 #678E22 #22678E
tetradic
#8E2267 #8E7F22 #228E49 #22318E
square
#8E2267 #8E7F22 #228E49 #22318E
split-complementary
#8E2267 #318E22 #228E7F
monochromatic
#2B0A1F #5D1643 #8E2267 #BF2E8B #D654A7

Accessibility & contrast

On white

8.16
#8E2267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2267
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2267#FFFFFF#000000##FFFFFF
##8E22671.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314469
Deuteranopia (green-blind)
#515665
Tritanopia (blue-blind)
#981F41
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e2267;
/* rgb */ color: rgb(142, 34, 103);
/* oklch */ color: oklch(45.0% 0.159 346.3);
Tailwind
colors: {
  custom: {
    50: '#b36892',
    500: '#8e2267',
    950: '#000000',
  },
}
SCSS
$custom: #8e2267;
$custom-light: #b36892;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2267",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 321.667,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4497,
    "c": 0.15893,
    "h": 346.3
  },
  "luminance": 0.07874
}

Semantic roles & 50–950 ramp

primary
#8E2267
secondary
#52BA77
accent
#E47E43
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E2267

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

Preview Lab → · Contrast checker → · Palette generator →

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