#8E266C#8E266C

#8E266C is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.157 H 343.9°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#8E266C
RGBrgb(142, 38, 108)
HSLhsl(320, 58%, 35%)
HSVhsv(320, 73%, 56%)
CMYKcmyk(0%, 73.2%, 23.9%, 44.3%)
CIE-LABlab(34.44, 50.10, -16.34)
CIE-LCHlch(34.44, 52.69, 341.94°)
OKLaboklab(45.56% 0.1511 -0.0436)
OKLCHoklch(45.56% 0.157 343.9)
XYZxyz(14.5558, 8.2212, 15.0047)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E266C #268E48
analogous
#7C268E #8E266C #8E2638
triadic
#8E266C #6C8E26 #266C8E
tetradic
#8E266C #8E7C26 #268E48 #26388E
square
#8E266C #8E7C26 #268E48 #26388E
split-complementary
#8E266C #388E26 #268E7C
monochromatic
#2D0C23 #5E1947 #8E266C #BE3391 #D35BAC

Accessibility & contrast

On white

7.94
#8E266C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E266C
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E266C#FFFFFF#000000##FFFFFF
##8E266C1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31466E
Deuteranopia (green-blind)
#51576A
Tritanopia (blue-blind)
#972645
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e266c;
/* rgb */ color: rgb(142, 38, 108);
/* oklch */ color: oklch(45.6% 0.157 343.9);
Tailwind
colors: {
  custom: {
    50: '#b36a96',
    500: '#8e266c',
    950: '#000000',
  },
}
SCSS
$custom: #8e266c;
$custom-light: #b36a96;
$custom-dark: #000000;
JSON
{
  "hex": "#8e266c",
  "rgb": {
    "r": 142,
    "g": 38,
    "b": 108
  },
  "hsl": {
    "h": 319.615,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45562,
    "c": 0.15723,
    "h": 343.9
  },
  "luminance": 0.0822
}

Semantic roles & 50–950 ramp

primary
#8E266C
secondary
#58B877
accent
#E17947
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E266C

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

Preview Lab → · Contrast checker → · Palette generator →

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