#8E2F4D#8E2F4D

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

Color values

HEX#8E2F4D
RGBrgb(142, 47, 77)
HSLhsl(341, 50%, 37%)
HSVhsv(341, 67%, 56%)
CMYKcmyk(0%, 66.9%, 45.8%, 44.3%)
CIE-LABlab(34.64, 42.67, 3.85)
CIE-LCHlch(34.64, 42.84, 5.15°)
OKLaboklab(45.35% 0.1302 0.0104)
OKLCHoklch(45.35% 0.131 4.5)
XYZxyz(13.5124, 8.3213, 7.9143)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F4D #2F8E70
analogous
#8E2F7D #8E2F4D #8E412F
triadic
#8E2F4D #4D8E2F #2F4D8E
tetradic
#8E2F4D #7D8E2F #2F8E70 #412F8E
square
#8E2F4D #7D8E2F #2F8E70 #412F8E
split-complementary
#8E2F4D #2F8E41 #2F7D8E
monochromatic
#32111B #602034 #8E2F4D #BC3E66 #CE6A89

Accessibility & contrast

On white

7.88
#8E2F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8E2F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2F4D
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2F4D#FFFFFF#000000##FFFFFF
##8E2F4D1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43464E
Deuteranopia (green-blind)
#5C584B
Tritanopia (blue-blind)
#9A223B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e2f4d;
/* rgb */ color: rgb(142, 47, 77);
/* oklch */ color: oklch(45.3% 0.131 4.5);
Tailwind
colors: {
  custom: {
    50: '#b36e7e',
    500: '#8e2f4d',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f4d;
$custom-light: #b36e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f4d",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 77
  },
  "hsl": {
    "h": 341.053,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45347,
    "c": 0.13064,
    "h": 4.5
  },
  "luminance": 0.0832
}

Semantic roles & 50–950 ramp

primary
#8E2F4D
secondary
#64B59B
accent
#DAAE4E
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8E2F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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