#8E2242#8E2242

#8E2242 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.6% C 0.144 H 8.1°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#8E2242
RGBrgb(142, 34, 66)
HSLhsl(342, 61%, 35%)
HSVhsv(342, 76%, 56%)
CMYKcmyk(0%, 76.1%, 53.5%, 44.3%)
CIE-LABlab(32.46, 46.83, 7.90)
CIE-LCHlch(32.46, 47.49, 9.58°)
OKLaboklab(43.63% 0.1425 0.0203)
OKLCHoklch(43.63% 0.144 8.1)
XYZxyz(12.7119, 7.2899, 5.8909)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2242 #228E6E
analogous
#8E2278 #8E2242 #8E3822
triadic
#8E2242 #428E22 #22428E
tetradic
#8E2242 #788E22 #228E6E #38228E
square
#8E2242 #788E22 #228E6E #38228E
split-complementary
#8E2242 #228E38 #22788E
monochromatic
#2B0A14 #5D162B #8E2242 #BF2E59 #D6547B

Accessibility & contrast

On white

8.54
#8E2242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8E2242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2242
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2242#FFFFFF#000000##FFFFFF
##8E22421.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3F43
Deuteranopia (green-blind)
#59543F
Tritanopia (blue-blind)
#9B062F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e2242;
/* rgb */ color: rgb(142, 34, 66);
/* oklch */ color: oklch(43.6% 0.144 8.1);
Tailwind
colors: {
  custom: {
    50: '#b56776',
    500: '#8e2242',
    950: '#000000',
  },
}
SCSS
$custom: #8e2242;
$custom-light: #b56776;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2242",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 342.222,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43629,
    "c": 0.14398,
    "h": 8.1
  },
  "luminance": 0.07288
}

Semantic roles & 50–950 ramp

primary
#8E2242
secondary
#52BA9B
accent
#E4B543
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E2242

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

Preview Lab → · Contrast checker → · Palette generator →

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