#8E266B#8E266B

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

Color values

HEX#8E266B
RGBrgb(142, 38, 107)
HSLhsl(320, 58%, 35%)
HSVhsv(320, 73%, 56%)
CMYKcmyk(0%, 73.2%, 24.6%, 44.3%)
CIE-LABlab(34.40, 49.96, -15.77)
CIE-LCHlch(34.40, 52.39, 342.48°)
OKLaboklab(45.52% 0.1509 -0.042)
OKLCHoklch(45.52% 0.157 344.4)
XYZxyz(14.5028, 8.2001, 14.7261)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E266B #268E49
analogous
#7D268E #8E266B #8E2637
triadic
#8E266B #6B8E26 #266B8E
tetradic
#8E266B #8E7D26 #268E49 #26378E
square
#8E266B #8E7D26 #268E49 #26378E
split-complementary
#8E266B #378E26 #268E7D
monochromatic
#2D0C22 #5E1947 #8E266B #BE338F #D35BAB

Accessibility & contrast

On white

7.96
#8E266B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E266B
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E266B#FFFFFF#000000##FFFFFF
##8E266B1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32466D
Deuteranopia (green-blind)
#515769
Tritanopia (blue-blind)
#982545
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e266b;
/* rgb */ color: rgb(142, 38, 107);
/* oklch */ color: oklch(45.5% 0.157 344.4);
Tailwind
colors: {
  custom: {
    50: '#b36a95',
    500: '#8e266b',
    950: '#000000',
  },
}
SCSS
$custom: #8e266b;
$custom-light: #b36a95;
$custom-dark: #000000;
JSON
{
  "hex": "#8e266b",
  "rgb": {
    "r": 142,
    "g": 38,
    "b": 107
  },
  "hsl": {
    "h": 320.192,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45516,
    "c": 0.1566,
    "h": 344.4
  },
  "luminance": 0.08199
}

Semantic roles & 50–950 ramp

primary
#8E266B
secondary
#58B878
accent
#E17B47
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E266B

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

Preview Lab → · Contrast checker → · Palette generator →

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