#8E2A67#8E2A67

#8E2A67 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.7% C 0.149 H 347.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8E2A67
RGBrgb(142, 42, 103)
HSLhsl(323, 54%, 36%)
HSVhsv(323, 70%, 56%)
CMYKcmyk(0%, 70.4%, 27.5%, 44.3%)
CIE-LABlab(34.78, 47.88, -12.64)
CIE-LCHlch(34.78, 49.52, 345.21°)
OKLaboklab(45.74% 0.1452 -0.0334)
OKLCHoklch(45.74% 0.149 347.1)
XYZxyz(14.4321, 8.3875, 13.6882)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2A67 #2A8E51
analogous
#832A8E #8E2A67 #8E2A35
triadic
#8E2A67 #678E2A #2A678E
tetradic
#8E2A67 #8E832A #2A8E51 #2A358E
square
#8E2A67 #8E832A #2A8E51 #2A358E
split-complementary
#8E2A67 #358E2A #2A8E83
monochromatic
#300E22 #5F1C45 #8E2A67 #BD3889 #D162A5

Accessibility & contrast

On white

7.84
#8E2A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8E2A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2A67
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2A67#FFFFFF#000000##FFFFFF
##8E2A671.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374769
Deuteranopia (green-blind)
#545865
Tritanopia (blue-blind)
#982744
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e2a67;
/* rgb */ color: rgb(142, 42, 103);
/* oklch */ color: oklch(45.7% 0.149 347.1);
Tailwind
colors: {
  custom: {
    50: '#b36c92',
    500: '#8e2a67',
    950: '#000000',
  },
}
SCSS
$custom: #8e2a67;
$custom-light: #b36c92;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2a67",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 323.4,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4574,
    "c": 0.14899,
    "h": 347.1
  },
  "luminance": 0.08386
}

Semantic roles & 50–950 ramp

primary
#8E2A67
secondary
#5DB680
accent
#DE844A
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070D
muted
#807A7D

Preview Lab

Preview with #8E2A67

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

Preview Lab → · Contrast checker → · Palette generator →

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