#E166C2#E166C2

#E166C2 is a light, vivid pink. Relative luminance 0.294; OKLCH L 68.9% C 0.186 H 338.2°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#E166C2
RGBrgb(225, 102, 194)
HSLhsl(315, 67%, 64%)
HSVhsv(315, 55%, 88%)
CMYKcmyk(0%, 54.7%, 13.8%, 11.8%)
CIE-LABlab(61.14, 58.75, -25.61)
CIE-LCHlch(61.14, 64.09, 336.45°)
OKLaboklab(68.91% 0.1724 -0.069)
OKLCHoklch(68.91% 0.186 338.2)
XYZxyz(45.5409, 29.4088, 54.3064)
Luminance0.2940 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166C2 #66E185
analogous
#C366E1 #E166C2 #E16685
triadic
#E166C2 #C2E166 #66C2E1
tetradic
#E166C2 #E1C366 #66E185 #6685E1
square
#E166C2 #E1C366 #66E185 #6685E1
split-complementary
#E166C2 #85E166 #66E1C3
monochromatic
#AB2288 #D733AE #E166C2 #EB99D6 #F5CCEB

Accessibility & contrast

On white

3.05
#E166C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#E166C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E166C2
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166C2#FFFFFF#000000##000000
##E166C21.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A87C5
Deuteranopia (green-blind)
#8D9BBF
Tritanopia (blue-blind)
#EC6A8B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #e166c2;
/* rgb */ color: rgb(225, 102, 194);
/* oklch */ color: oklch(68.9% 0.186 338.2);
Tailwind
colors: {
  custom: {
    50: '#ed97d4',
    500: '#e166c2',
    950: '#000000',
  },
}
SCSS
$custom: #e166c2;
$custom-light: #ed97d4;
$custom-dark: #000000;
JSON
{
  "hex": "#e166c2",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 194
  },
  "hsl": {
    "h": 315.122,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68908,
    "c": 0.18572,
    "h": 338.2
  },
  "luminance": 0.29405
}

Semantic roles & 50–950 ramp

primary
#E166C2
secondary
#BCE7C7
accent
#CF4516
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#170E14
muted
#857E83

Preview Lab

Preview with #E166C2

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

Preview Lab → · Contrast checker → · Palette generator →

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