#8E266A#8E266A

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

Color values

HEX#8E266A
RGBrgb(142, 38, 106)
HSLhsl(321, 58%, 35%)
HSVhsv(321, 73%, 56%)
CMYKcmyk(0%, 73.2%, 25.4%, 44.3%)
CIE-LABlab(34.35, 49.82, -15.20)
CIE-LCHlch(34.35, 52.09, 343.03°)
OKLaboklab(45.47% 0.1506 -0.0404)
OKLCHoklch(45.47% 0.156 345)
XYZxyz(14.4505, 8.1791, 14.4506)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E266A #268E4A
analogous
#7E268E #8E266A #8E2636
triadic
#8E266A #6A8E26 #266A8E
tetradic
#8E266A #8E7E26 #268E4A #26368E
square
#8E266A #8E7E26 #268E4A #26368E
split-complementary
#8E266A #368E26 #268E7E
monochromatic
#2D0C22 #5E1946 #8E266A #BE338E #D35BAA

Accessibility & contrast

On white

7.97
#8E266A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8E266A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E266A
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E266A#FFFFFF#000000##FFFFFF
##8E266A1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32466C
Deuteranopia (green-blind)
#515768
Tritanopia (blue-blind)
#982544
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e266a;
/* rgb */ color: rgb(142, 38, 106);
/* oklch */ color: oklch(45.5% 0.156 345.0);
Tailwind
colors: {
  custom: {
    50: '#b36a94',
    500: '#8e266a',
    950: '#000000',
  },
}
SCSS
$custom: #8e266a;
$custom-light: #b36a94;
$custom-dark: #000000;
JSON
{
  "hex": "#8e266a",
  "rgb": {
    "r": 142,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 320.769,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45471,
    "c": 0.15597,
    "h": 345
  },
  "luminance": 0.08178
}

Semantic roles & 50–950 ramp

primary
#8E266A
secondary
#58B879
accent
#E17C47
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E266A

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

Preview Lab → · Contrast checker → · Palette generator →

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