#8E267A#8E267A

#8E267A is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.167 H 336.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#8E267A
RGBrgb(142, 38, 122)
HSLhsl(312, 58%, 35%)
HSVhsv(312, 73%, 56%)
CMYKcmyk(0%, 73.2%, 14.1%, 44.3%)
CIE-LABlab(35.09, 52.14, -24.16)
CIE-LCHlch(35.09, 57.47, 335.14°)
OKLaboklab(46.25% 0.1533 -0.0657)
OKLCHoklch(46.25% 0.167 336.8)
XYZxyz(15.3616, 8.5435, 19.2486)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E267A #268E3A
analogous
#6E268E #8E267A #8E2646
triadic
#8E267A #7A8E26 #267A8E
tetradic
#8E267A #8E6E26 #268E3A #26468E
square
#8E267A #8E6E26 #268E3A #26468E
split-complementary
#8E267A #468E26 #268E6E
monochromatic
#2D0C27 #5E1951 #8E267A #BE33A3 #D35BBC

Accessibility & contrast

On white

7.75
#8E267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8E267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E267A
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E267A#FFFFFF#000000##FFFFFF
##8E267A1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29487C
Deuteranopia (green-blind)
#4C5878
Tritanopia (blue-blind)
#962C4D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e267a;
/* rgb */ color: rgb(142, 38, 122);
/* oklch */ color: oklch(46.2% 0.167 336.8);
Tailwind
colors: {
  custom: {
    50: '#b26ba0',
    500: '#8e267a',
    950: '#000000',
  },
}
SCSS
$custom: #8e267a;
$custom-light: #b26ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e267a",
  "rgb": {
    "r": 142,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 311.538,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46246,
    "c": 0.16682,
    "h": 336.8
  },
  "luminance": 0.08542
}

Semantic roles & 50–950 ramp

primary
#8E267A
secondary
#58B86A
accent
#E16447
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8E267A

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

Preview Lab → · Contrast checker → · Palette generator →

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