#E166B2#E166B2

#E166B2 is a light, vivid pink. Relative luminance 0.287; OKLCH L 68.3% C 0.175 H 344.7°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#E166B2
RGBrgb(225, 102, 178)
HSLhsl(323, 67%, 64%)
HSVhsv(323, 55%, 88%)
CMYKcmyk(0%, 54.7%, 20.9%, 11.8%)
CIE-LABlab(60.54, 56.40, -17.39)
CIE-LCHlch(60.54, 59.02, 342.86°)
OKLaboklab(68.27% 0.1687 -0.0461)
OKLCHoklch(68.27% 0.175 344.7)
XYZxyz(43.8397, 28.7284, 45.3471)
Luminance0.2873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166B2 #66E195
analogous
#D366E1 #E166B2 #E16675
triadic
#E166B2 #B2E166 #66B2E1
tetradic
#E166B2 #E1D366 #66E195 #6675E1
square
#E166B2 #E1D366 #66E195 #6675E1
split-complementary
#E166B2 #75E166 #66E1D3
monochromatic
#AB2277 #D73398 #E166B2 #EB99CC #F5CCE6

Accessibility & contrast

On white

3.11
#E166B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#E166B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E166B2
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166B2#FFFFFF#000000##000000
##E166B21.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7085B4
Deuteranopia (green-blind)
#929AAF
Tritanopia (blue-blind)
#EE6584
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #e166b2;
/* rgb */ color: rgb(225, 102, 178);
/* oklch */ color: oklch(68.3% 0.175 344.7);
Tailwind
colors: {
  custom: {
    50: '#ed96c9',
    500: '#e166b2',
    950: '#000000',
  },
}
SCSS
$custom: #e166b2;
$custom-light: #ed96c9;
$custom-dark: #000000;
JSON
{
  "hex": "#e166b2",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 178
  },
  "hsl": {
    "h": 322.927,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68266,
    "c": 0.17489,
    "h": 344.7
  },
  "luminance": 0.28725
}

Semantic roles & 50–950 ramp

primary
#E166B2
secondary
#BCE7CC
accent
#CF5D16
background
#FEF9FC
surface
#FDF2F8
border
#D5CCD1
text
#170E13
muted
#857E82

Preview Lab

Preview with #E166B2

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

Preview Lab → · Contrast checker → · Palette generator →

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