#8E225C#8E225C

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

Color values

HEX#8E225C
RGBrgb(142, 34, 92)
HSLhsl(328, 61%, 35%)
HSVhsv(328, 76%, 56%)
CMYKcmyk(0%, 76.1%, 35.2%, 44.3%)
CIE-LABlab(33.28, 49.47, -7.85)
CIE-LCHlch(33.28, 50.09, 350.99°)
OKLaboklab(44.51% 0.1516 -0.0202)
OKLCHoklch(44.51% 0.153 352.4)
XYZxyz(13.6599, 7.6692, 10.8841)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E225C #228E54
analogous
#8A228E #8E225C #8E2226
triadic
#8E225C #5C8E22 #225C8E
tetradic
#8E225C #8E8A22 #228E54 #22268E
square
#8E225C #8E8A22 #228E54 #22268E
split-complementary
#8E225C #268E22 #228E8A
monochromatic
#2B0A1C #5D163C #8E225C #BF2E7C #D6549A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E225C#FFFFFF#000000##FFFFFF
##8E225C1.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)
#35425E
Deuteranopia (green-blind)
#54555A
Tritanopia (blue-blind)
#99193C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e225c;
/* rgb */ color: rgb(142, 34, 92);
/* oklch */ color: oklch(44.5% 0.153 352.4);
Tailwind
colors: {
  custom: {
    50: '#b3688a',
    500: '#8e225c',
    950: '#000000',
  },
}
SCSS
$custom: #8e225c;
$custom-light: #b3688a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e225c",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 92
  },
  "hsl": {
    "h": 327.778,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44506,
    "c": 0.15293,
    "h": 352.4
  },
  "luminance": 0.07668
}

Semantic roles & 50–950 ramp

primary
#8E225C
secondary
#52BA82
accent
#E48E43
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8E225C

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

Preview Lab → · Contrast checker → · Palette generator →

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