#E166A2#E166A2

#E166A2 is a light, vivid pink. Relative luminance 0.281; OKLCH L 67.7% C 0.166 H 352.0°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#E166A2
RGBrgb(225, 102, 162)
HSLhsl(331, 67%, 64%)
HSVhsv(331, 55%, 88%)
CMYKcmyk(0%, 54.7%, 28%, 11.8%)
CIE-LABlab(60.00, 54.24, -9.00)
CIE-LCHlch(60.00, 54.98, 350.58°)
OKLaboklab(67.69% 0.1643 -0.0232)
OKLCHoklch(67.69% 0.166 352)
XYZxyz(42.3260, 28.1229, 37.3745)
Luminance0.2812 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166A2 #66E1A5
analogous
#E166DF #E166A2 #E16866
triadic
#E166A2 #A2E166 #66A2E1
tetradic
#E166A2 #DFE166 #66E1A5 #6866E1
square
#E166A2 #DFE166 #66E1A5 #6866E1
split-complementary
#E166A2 #66E168 #66DFE1
monochromatic
#AB2265 #D73383 #E166A2 #EB99C1 #F5CCE0

Accessibility & contrast

On white

3.17
#E166A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#E166A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E166A2
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166A2#FFFFFF#000000##000000
##E166A21.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7683A4
Deuteranopia (green-blind)
#97999F
Tritanopia (blue-blind)
#F0607D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #e166a2;
/* rgb */ color: rgb(225, 102, 162);
/* oklch */ color: oklch(67.7% 0.166 352.0);
Tailwind
colors: {
  custom: {
    50: '#ee96bd',
    500: '#e166a2',
    950: '#000000',
  },
}
SCSS
$custom: #e166a2;
$custom-light: #ee96bd;
$custom-dark: #000000;
JSON
{
  "hex": "#e166a2",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 162
  },
  "hsl": {
    "h": 330.732,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67685,
    "c": 0.16588,
    "h": 352
  },
  "luminance": 0.28119
}

Semantic roles & 50–950 ramp

primary
#E166A2
secondary
#BCE7D2
accent
#CF7516
background
#FEF9FB
surface
#FDF2F6
border
#D5CCD0
text
#170E12
muted
#857E81

Preview Lab

Preview with #E166A2

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

Preview Lab → · Contrast checker → · Palette generator →

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