#8E2268#8E2268

#8E2268 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.160 H 345.7°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#8E2268
RGBrgb(142, 34, 104)
HSLhsl(321, 61%, 35%)
HSVhsv(321, 76%, 56%)
CMYKcmyk(0%, 76.1%, 26.8%, 44.3%)
CIE-LABlab(33.77, 50.97, -14.83)
CIE-LCHlch(33.77, 53.08, 343.78°)
OKLaboklab(45.02% 0.1546 -0.0394)
OKLCHoklch(45.02% 0.16 345.7)
XYZxyz(14.2267, 7.8959, 13.8689)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2268 #228E48
analogous
#7E228E #8E2268 #8E2232
triadic
#8E2268 #688E22 #22688E
tetradic
#8E2268 #8E7E22 #228E48 #22328E
square
#8E2268 #8E7E22 #228E48 #22328E
split-complementary
#8E2268 #328E22 #228E7E
monochromatic
#2B0A20 #5D1644 #8E2268 #BF2E8C #D654A8

Accessibility & contrast

On white

8.14
#8E2268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8E2268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2268
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2268#FFFFFF#000000##FFFFFF
##8E22681.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30446A
Deuteranopia (green-blind)
#515666
Tritanopia (blue-blind)
#982042
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e2268;
/* rgb */ color: rgb(142, 34, 104);
/* oklch */ color: oklch(45.0% 0.160 345.7);
Tailwind
colors: {
  custom: {
    50: '#b36893',
    500: '#8e2268',
    950: '#000000',
  },
}
SCSS
$custom: #8e2268;
$custom-light: #b36893;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2268",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 321.111,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45015,
    "c": 0.15953,
    "h": 345.7
  },
  "luminance": 0.07894
}

Semantic roles & 50–950 ramp

primary
#8E2268
secondary
#52BA76
accent
#E47C43
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E2268

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

Preview Lab → · Contrast checker → · Palette generator →

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