#8E2F4E#8E2F4E

#8E2F4E is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.4% C 0.131 H 3.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8E2F4E
RGBrgb(142, 47, 78)
HSLhsl(340, 50%, 37%)
HSVhsv(340, 67%, 56%)
CMYKcmyk(0%, 66.9%, 45.1%, 44.3%)
CIE-LABlab(34.67, 42.77, 3.25)
CIE-LCHlch(34.67, 42.89, 4.34°)
OKLaboklab(45.38% 0.1306 0.0088)
OKLCHoklch(45.38% 0.131 3.9)
XYZxyz(13.5480, 8.3355, 8.1017)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F4E #2F8E6F
analogous
#8E2F7E #8E2F4E #8E3F2F
triadic
#8E2F4E #4E8E2F #2F4E8E
tetradic
#8E2F4E #7E8E2F #2F8E6F #3F2F8E
square
#8E2F4E #7E8E2F #2F8E6F #3F2F8E
split-complementary
#8E2F4E #2F8E3F #2F7E8E
monochromatic
#32111B #602035 #8E2F4E #BC3E67 #CE6A8A

Accessibility & contrast

On white

7.87
#8E2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8E2F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2F4E
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2F4E#FFFFFF#000000##FFFFFF
##8E2F4E1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43464F
Deuteranopia (green-blind)
#5C584C
Tritanopia (blue-blind)
#9A233B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e2f4e;
/* rgb */ color: rgb(142, 47, 78);
/* oklch */ color: oklch(45.4% 0.131 3.9);
Tailwind
colors: {
  custom: {
    50: '#b36e7f',
    500: '#8e2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f4e;
$custom-light: #b36e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f4e",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 340.421,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45378,
    "c": 0.13091,
    "h": 3.9
  },
  "luminance": 0.08334
}

Semantic roles & 50–950 ramp

primary
#8E2F4E
secondary
#64B59A
accent
#DAAC4E
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8E2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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