#E166D6#E166D6

#E166D6 is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 69.8% C 0.201 H 331.0°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#E166D6
RGBrgb(225, 102, 214)
HSLhsl(305, 67%, 64%)
HSVhsv(305, 55%, 88%)
CMYKcmyk(0%, 54.7%, 4.9%, 11.8%)
CIE-LABlab(61.97, 61.92, -35.63)
CIE-LCHlch(61.97, 71.44, 330.08°)
OKLaboklab(69.79% 0.176 -0.0974)
OKLCHoklch(69.79% 0.201 331)
XYZxyz(47.9400, 30.3685, 66.9420)
Luminance0.3036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166D6 #66E171
analogous
#AF66E1 #E166D6 #E16699
triadic
#E166D6 #D6E166 #66D6E1
tetradic
#E166D6 #E1AF66 #66E171 #6699E1
square
#E166D6 #E1AF66 #66E171 #6699E1
split-complementary
#E166D6 #99E166 #66E1AF
monochromatic
#AB229F #D733C8 #E166D6 #EB99E4 #F5CCF1

Accessibility & contrast

On white

2.97
#E166D6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#E166D6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E166D6
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166D6#FFFFFF#000000##000000
##E166D61.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#608BDA
Deuteranopia (green-blind)
#869CD3
Tritanopia (blue-blind)
#E97195
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #e166d6;
/* rgb */ color: rgb(225, 102, 214);
/* oklch */ color: oklch(69.8% 0.201 331.0);
Tailwind
colors: {
  custom: {
    50: '#ed97e3',
    500: '#e166d6',
    950: '#000000',
  },
}
SCSS
$custom: #e166d6;
$custom-light: #ed97e3;
$custom-dark: #000000;
JSON
{
  "hex": "#e166d6",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 214
  },
  "hsl": {
    "h": 305.366,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69792,
    "c": 0.20116,
    "h": 331
  },
  "luminance": 0.30365
}

Semantic roles & 50–950 ramp

primary
#E166D6
secondary
#BCE7C0
accent
#CF2716
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#170E15
muted
#857E83

Preview Lab

Preview with #E166D6

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

Preview Lab → · Contrast checker → · Palette generator →

#E166D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva