#8E266D#8E266D

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

Color values

HEX#8E266D
RGBrgb(142, 38, 109)
HSLhsl(319, 58%, 35%)
HSVhsv(319, 73%, 56%)
CMYKcmyk(0%, 73.2%, 23.2%, 44.3%)
CIE-LABlab(34.48, 50.24, -16.91)
CIE-LCHlch(34.48, 53.00, 341.40°)
OKLaboklab(45.61% 0.1513 -0.0452)
OKLCHoklch(45.61% 0.158 343.4)
XYZxyz(14.6093, 8.2426, 15.2866)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E266D #268E47
analogous
#7B268E #8E266D #8E2639
triadic
#8E266D #6D8E26 #266D8E
tetradic
#8E266D #8E7B26 #268E47 #26398E
square
#8E266D #8E7B26 #268E47 #26398E
split-complementary
#8E266D #398E26 #268E7B
monochromatic
#2D0C23 #5E1948 #8E266D #BE3392 #D35BAD

Accessibility & contrast

On white

7.93
#8E266D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E266D
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E266D#FFFFFF#000000##FFFFFF
##8E266D1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31466F
Deuteranopia (green-blind)
#50576B
Tritanopia (blue-blind)
#972646
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e266d;
/* rgb */ color: rgb(142, 38, 109);
/* oklch */ color: oklch(45.6% 0.158 343.4);
Tailwind
colors: {
  custom: {
    50: '#b36a97',
    500: '#8e266d',
    950: '#000000',
  },
}
SCSS
$custom: #8e266d;
$custom-light: #b36a97;
$custom-dark: #000000;
JSON
{
  "hex": "#8e266d",
  "rgb": {
    "r": 142,
    "g": 38,
    "b": 109
  },
  "hsl": {
    "h": 319.038,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45608,
    "c": 0.15788,
    "h": 343.4
  },
  "luminance": 0.08241
}

Semantic roles & 50–950 ramp

primary
#8E266D
secondary
#58B876
accent
#E17847
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E266D

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

Preview Lab → · Contrast checker → · Palette generator →

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