#8E214B#8E214B

#8E214B is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.8% C 0.147 H 2.4°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#8E214B
RGBrgb(142, 33, 75)
HSLhsl(337, 62%, 34%)
HSVhsv(337, 77%, 56%)
CMYKcmyk(0%, 76.8%, 47.2%, 44.3%)
CIE-LABlab(32.59, 47.99, 2.19)
CIE-LCHlch(32.59, 48.04, 2.61°)
OKLaboklab(43.81% 0.1471 0.0061)
OKLCHoklch(43.81% 0.147 2.4)
XYZxyz(12.9702, 7.3482, 7.3906)
Luminance0.0735 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E214B #218E64
analogous
#8E2182 #8E214B #8E2E21
triadic
#8E214B #4B8E21 #214B8E
tetradic
#8E214B #828E21 #218E64 #2E218E
square
#8E214B #828E21 #218E64 #2E218E
split-complementary
#8E214B #218E2E #21828E
monochromatic
#2B0A17 #5C1531 #8E214B #C02D65 #D75286

Accessibility & contrast

On white

8.50
#8E214B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8E214B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E214B
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E214B#FFFFFF#000000##FFFFFF
##8E214B1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3F4C
Deuteranopia (green-blind)
#575448
Tritanopia (blue-blind)
#9B0B33
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e214b;
/* rgb */ color: rgb(142, 33, 75);
/* oklch */ color: oklch(43.8% 0.147 2.4);
Tailwind
colors: {
  custom: {
    50: '#b4677d',
    500: '#8e214b',
    950: '#000000',
  },
}
SCSS
$custom: #8e214b;
$custom-light: #b4677d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e214b",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 75
  },
  "hsl": {
    "h": 336.881,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43807,
    "c": 0.14724,
    "h": 2.4
  },
  "luminance": 0.07346
}

Semantic roles & 50–950 ramp

primary
#8E214B
secondary
#50BA92
accent
#E5A742
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E214B

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

Preview Lab → · Contrast checker → · Palette generator →

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