#E166B7#E166B7

#E166B7 is a light, vivid pink. Relative luminance 0.289; OKLCH L 68.5% C 0.178 H 342.6°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#E166B7
RGBrgb(225, 102, 183)
HSLhsl(320, 67%, 64%)
HSVhsv(320, 55%, 88%)
CMYKcmyk(0%, 54.7%, 18.7%, 11.8%)
CIE-LABlab(60.72, 57.12, -19.98)
CIE-LCHlch(60.72, 60.51, 340.72°)
OKLaboklab(68.46% 0.17 -0.0532)
OKLCHoklch(68.46% 0.178 342.6)
XYZxyz(44.3509, 28.9329, 48.0393)
Luminance0.2893 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166B7 #66E190
analogous
#CE66E1 #E166B7 #E1667A
triadic
#E166B7 #B7E166 #66B7E1
tetradic
#E166B7 #E1CE66 #66E190 #667AE1
square
#E166B7 #E1CE66 #66E190 #667AE1
split-complementary
#E166B7 #7AE166 #66E1CE
monochromatic
#AB227C #D7339F #E166B7 #EB99CF #F5CCE7

Accessibility & contrast

On white

3.09
#E166B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#E166B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E166B7
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166B7#FFFFFF#000000##000000
##E166B71.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F86BA
Deuteranopia (green-blind)
#919AB4
Tritanopia (blue-blind)
#ED6786
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #e166b7;
/* rgb */ color: rgb(225, 102, 183);
/* oklch */ color: oklch(68.5% 0.178 342.6);
Tailwind
colors: {
  custom: {
    50: '#ed97cc',
    500: '#e166b7',
    950: '#000000',
  },
}
SCSS
$custom: #e166b7;
$custom-light: #ed97cc;
$custom-dark: #000000;
JSON
{
  "hex": "#e166b7",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 183
  },
  "hsl": {
    "h": 320.488,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68461,
    "c": 0.17811,
    "h": 342.6
  },
  "luminance": 0.28929
}

Semantic roles & 50–950 ramp

primary
#E166B7
secondary
#BCE7CB
accent
#CF5516
background
#FEF9FC
surface
#FDF2F8
border
#D5CCD1
text
#170E13
muted
#857E82

Preview Lab

Preview with #E166B7

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

Preview Lab → · Contrast checker → · Palette generator →

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