#8E246F#8E246F

#8E246F is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.162 H 342.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8E246F
RGBrgb(142, 36, 111)
HSLhsl(318, 60%, 35%)
HSVhsv(318, 75%, 56%)
CMYKcmyk(0%, 74.6%, 21.8%, 44.3%)
CIE-LABlab(34.32, 51.23, -18.43)
CIE-LCHlch(34.32, 54.45, 340.21°)
OKLaboklab(45.52% 0.1538 -0.0495)
OKLCHoklch(45.52% 0.162 342.2)
XYZxyz(14.6559, 8.1617, 15.8394)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E246F #248E43
analogous
#78248E #8E246F #8E243A
triadic
#8E246F #6F8E24 #246F8E
tetradic
#8E246F #8E7824 #248E43 #243A8E
square
#8E246F #8E7824 #248E43 #243A8E
split-complementary
#8E246F #3A8E24 #248E78
monochromatic
#2C0B23 #5D1849 #8E246F #BF3095 #D558B0

Accessibility & contrast

On white

7.98
#8E246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8E246F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E246F
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E246F#FFFFFF#000000##FFFFFF
##8E246F1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4671
Deuteranopia (green-blind)
#4F576D
Tritanopia (blue-blind)
#972546
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e246f;
/* rgb */ color: rgb(142, 36, 111);
/* oklch */ color: oklch(45.5% 0.162 342.2);
Tailwind
colors: {
  custom: {
    50: '#b36998',
    500: '#8e246f',
    950: '#000000',
  },
}
SCSS
$custom: #8e246f;
$custom-light: #b36998;
$custom-dark: #000000;
JSON
{
  "hex": "#8e246f",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 317.547,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45517,
    "c": 0.1616,
    "h": 342.2
  },
  "luminance": 0.0816
}

Semantic roles & 50–950 ramp

primary
#8E246F
secondary
#55B972
accent
#E37345
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E246F

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

Preview Lab → · Contrast checker → · Palette generator →

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