#8E246B#8E246B

#8E246B is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.159 H 344.3°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8E246B
RGBrgb(142, 36, 107)
HSLhsl(320, 60%, 35%)
HSVhsv(320, 75%, 56%)
CMYKcmyk(0%, 74.6%, 24.6%, 44.3%)
CIE-LABlab(34.14, 50.68, -16.16)
CIE-LCHlch(34.14, 53.20, 342.31°)
OKLaboklab(45.33% 0.1531 -0.0431)
OKLCHoklch(45.33% 0.159 344.3)
XYZxyz(14.4406, 8.0756, 14.7053)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E246B #248E47
analogous
#7C248E #8E246B #8E2436
triadic
#8E246B #6B8E24 #246B8E
tetradic
#8E246B #8E7C24 #248E47 #24368E
square
#8E246B #8E7C24 #248E47 #24368E
split-complementary
#8E246B #368E24 #248E7C
monochromatic
#2C0B21 #5D1846 #8E246B #BF3090 #D558AB

Accessibility & contrast

On white

8.03
#8E246B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8E246B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E246B
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E246B#FFFFFF#000000##FFFFFF
##8E246B1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30456D
Deuteranopia (green-blind)
#505769
Tritanopia (blue-blind)
#982344
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e246b;
/* rgb */ color: rgb(142, 36, 107);
/* oklch */ color: oklch(45.3% 0.159 344.3);
Tailwind
colors: {
  custom: {
    50: '#b36995',
    500: '#8e246b',
    950: '#000000',
  },
}
SCSS
$custom: #8e246b;
$custom-light: #b36995;
$custom-dark: #000000;
JSON
{
  "hex": "#8e246b",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 107
  },
  "hsl": {
    "h": 319.811,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45329,
    "c": 0.15903,
    "h": 344.3
  },
  "luminance": 0.08074
}

Semantic roles & 50–950 ramp

primary
#8E246B
secondary
#55B976
accent
#E37945
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E246B

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

Preview Lab → · Contrast checker → · Palette generator →

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