#8E267C#8E267C

#8E267C is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.168 H 335.9°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8E267C
RGBrgb(142, 38, 124)
HSLhsl(310, 58%, 35%)
HSVhsv(310, 73%, 56%)
CMYKcmyk(0%, 73.2%, 12.7%, 44.3%)
CIE-LABlab(35.19, 52.45, -25.26)
CIE-LCHlch(35.19, 58.21, 334.29°)
OKLaboklab(46.35% 0.1536 -0.0688)
OKLCHoklch(46.35% 0.168 335.9)
XYZxyz(15.4868, 8.5936, 19.9080)
Luminance0.0859 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E267C #268E38
analogous
#6C268E #8E267C #8E2648
triadic
#8E267C #7C8E26 #267C8E
tetradic
#8E267C #8E6C26 #268E38 #26488E
square
#8E267C #8E6C26 #268E38 #26488E
split-complementary
#8E267C #488E26 #268E6C
monochromatic
#2D0C28 #5E1952 #8E267C #BE33A6 #D35BBE

Accessibility & contrast

On white

7.73
#8E267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8E267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E267C
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E267C#FFFFFF#000000##FFFFFF
##8E267C1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27497E
Deuteranopia (green-blind)
#4B587A
Tritanopia (blue-blind)
#952D4E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e267c;
/* rgb */ color: rgb(142, 38, 124);
/* oklch */ color: oklch(46.4% 0.168 335.9);
Tailwind
colors: {
  custom: {
    50: '#b26ba2',
    500: '#8e267c',
    950: '#000000',
  },
}
SCSS
$custom: #8e267c;
$custom-light: #b26ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e267c",
  "rgb": {
    "r": 142,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 310.385,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46351,
    "c": 0.16829,
    "h": 335.9
  },
  "luminance": 0.08592
}

Semantic roles & 50–950 ramp

primary
#8E267C
secondary
#58B868
accent
#E16147
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E267C

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

Preview Lab → · Contrast checker → · Palette generator →

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