#8E2273#8E2273

#8E2273 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.167 H 340.0°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#8E2273
RGBrgb(142, 34, 115)
HSLhsl(315, 61%, 35%)
HSVhsv(315, 76%, 56%)
CMYKcmyk(0%, 76.1%, 19%, 44.3%)
CIE-LABlab(34.26, 52.49, -21.05)
CIE-LCHlch(34.26, 56.55, 338.15°)
OKLaboklab(45.54% 0.1566 -0.0568)
OKLCHoklch(45.54% 0.167 340)
XYZxyz(14.8223, 8.1341, 17.0058)
Luminance0.0813 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2273 #228E3D
analogous
#73228E #8E2273 #8E223D
triadic
#8E2273 #738E22 #22738E
tetradic
#8E2273 #8E7322 #228E3D #223D8E
square
#8E2273 #8E7322 #228E3D #223D8E
split-complementary
#8E2273 #3D8E22 #228E73
monochromatic
#2B0A23 #5D164B #8E2273 #BF2E9B #D654B6

Accessibility & contrast

On white

8.00
#8E2273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8E2273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2273
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2273#FFFFFF#000000##FFFFFF
##8E22731.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4675
Deuteranopia (green-blind)
#4D5771
Tritanopia (blue-blind)
#972648
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e2273;
/* rgb */ color: rgb(142, 34, 115);
/* oklch */ color: oklch(45.5% 0.167 340.0);
Tailwind
colors: {
  custom: {
    50: '#b3699b',
    500: '#8e2273',
    950: '#000000',
  },
}
SCSS
$custom: #8e2273;
$custom-light: #b3699b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2273",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 315,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45536,
    "c": 0.16658,
    "h": 340
  },
  "luminance": 0.08133
}

Semantic roles & 50–950 ramp

primary
#8E2273
secondary
#52BA6C
accent
#E46C43
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E2273

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

Preview Lab → · Contrast checker → · Palette generator →

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