#8E266E#8E266E

#8E266E is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.159 H 342.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8E266E
RGBrgb(142, 38, 110)
HSLhsl(318, 58%, 35%)
HSVhsv(318, 73%, 56%)
CMYKcmyk(0%, 73.2%, 22.5%, 44.3%)
CIE-LABlab(34.53, 50.37, -17.47)
CIE-LCHlch(34.53, 53.32, 340.87°)
OKLaboklab(45.66% 0.1515 -0.0468)
OKLCHoklch(45.66% 0.159 342.8)
XYZxyz(14.6634, 8.2643, 15.5718)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E266E #268E46
analogous
#7A268E #8E266E #8E263A
triadic
#8E266E #6E8E26 #266E8E
tetradic
#8E266E #8E7A26 #268E46 #263A8E
square
#8E266E #8E7A26 #268E46 #263A8E
split-complementary
#8E266E #3A8E26 #268E7A
monochromatic
#2D0C23 #5E1949 #8E266E #BE3393 #D35BAE

Accessibility & contrast

On white

7.92
#8E266E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8E266E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E266E
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E266E#FFFFFF#000000##FFFFFF
##8E266E1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304670
Deuteranopia (green-blind)
#50576C
Tritanopia (blue-blind)
#972746
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e266e;
/* rgb */ color: rgb(142, 38, 110);
/* oklch */ color: oklch(45.7% 0.159 342.8);
Tailwind
colors: {
  custom: {
    50: '#b36a97',
    500: '#8e266e',
    950: '#000000',
  },
}
SCSS
$custom: #8e266e;
$custom-light: #b36a97;
$custom-dark: #000000;
JSON
{
  "hex": "#8e266e",
  "rgb": {
    "r": 142,
    "g": 38,
    "b": 110
  },
  "hsl": {
    "h": 318.462,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45655,
    "c": 0.15852,
    "h": 342.8
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#8E266E
secondary
#58B875
accent
#E17647
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E266E

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

Preview Lab → · Contrast checker → · Palette generator →

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