#8E2F5F#8E2F5F

#8E2F5F is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.0% C 0.138 H 352.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#8E2F5F
RGBrgb(142, 47, 95)
HSLhsl(330, 50%, 37%)
HSVhsv(330, 67%, 56%)
CMYKcmyk(0%, 66.9%, 33.1%, 44.3%)
CIE-LABlab(35.23, 44.75, -6.86)
CIE-LCHlch(35.23, 45.27, 351.28°)
OKLaboklab(45.97% 0.1365 -0.0176)
OKLCHoklch(45.97% 0.138 352.6)
XYZxyz(14.2381, 8.6116, 11.7366)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F5F #2F8E5E
analogous
#8E2F8E #8E2F5F #8E2F30
triadic
#8E2F5F #5F8E2F #2F5F8E
tetradic
#8E2F5F #8E8E2F #2F8E5E #2F308E
square
#8E2F5F #8E8E2F #2F8E5E #2F308E
split-complementary
#8E2F5F #308E2F #2F8E8E
monochromatic
#321121 #602040 #8E2F5F #BC3E7E #CE6A9C

Accessibility & contrast

On white

7.71
#8E2F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8E2F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2F5F
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2F5F#FFFFFF#000000##FFFFFF
##8E2F5F1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4860
Deuteranopia (green-blind)
#58595D
Tritanopia (blue-blind)
#992943
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e2f5f;
/* rgb */ color: rgb(142, 47, 95);
/* oklch */ color: oklch(46.0% 0.138 352.6);
Tailwind
colors: {
  custom: {
    50: '#b36e8c',
    500: '#8e2f5f',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f5f;
$custom-light: #b36e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f5f",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 95
  },
  "hsl": {
    "h": 329.684,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45969,
    "c": 0.13763,
    "h": 352.6
  },
  "luminance": 0.0861
}

Semantic roles & 50–950 ramp

primary
#8E2F5F
secondary
#64B58C
accent
#DA934E
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8E2F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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