#E166CB#E166CB

#E166CB is a light, vivid pink. Relative luminance 0.298; OKLCH L 69.3% C 0.192 H 334.8°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#E166CB
RGBrgb(225, 102, 203)
HSLhsl(311, 67%, 64%)
HSVhsv(311, 55%, 88%)
CMYKcmyk(0%, 54.7%, 9.8%, 11.8%)
CIE-LABlab(61.50, 60.15, -30.15)
CIE-LCHlch(61.50, 67.28, 333.38°)
OKLaboklab(69.3% 0.1742 -0.0818)
OKLCHoklch(69.3% 0.192 334.8)
XYZxyz(46.5824, 29.8255, 59.7917)
Luminance0.2982 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166CB #66E17C
analogous
#BA66E1 #E166CB #E1668E
triadic
#E166CB #CBE166 #66CBE1
tetradic
#E166CB #E1BA66 #66E17C #668EE1
square
#E166CB #E1BA66 #66E17C #668EE1
split-complementary
#E166CB #8EE166 #66E1BA
monochromatic
#AB2292 #D733BA #E166CB #EB99DC #F5CCEE

Accessibility & contrast

On white

3.02
#E166CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#E166CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E166CB
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166CB#FFFFFF#000000##000000
##E166CB1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6689CE
Deuteranopia (green-blind)
#8A9BC8
Tritanopia (blue-blind)
#EB6D90
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #e166cb;
/* rgb */ color: rgb(225, 102, 203);
/* oklch */ color: oklch(69.3% 0.192 334.8);
Tailwind
colors: {
  custom: {
    50: '#ed97db',
    500: '#e166cb',
    950: '#000000',
  },
}
SCSS
$custom: #e166cb;
$custom-light: #ed97db;
$custom-dark: #000000;
JSON
{
  "hex": "#e166cb",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 310.732,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69295,
    "c": 0.19246,
    "h": 334.8
  },
  "luminance": 0.29822
}

Semantic roles & 50–950 ramp

primary
#E166CB
secondary
#BCE7C4
accent
#CF3716
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#170E15
muted
#857E83

Preview Lab

Preview with #E166CB

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

Preview Lab → · Contrast checker → · Palette generator →

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