#EC668F#EC668F

#EC668F is a light, vivid pink. Relative luminance 0.293; OKLCH L 68.6% C 0.169 H 3.5°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#EC668F
RGBrgb(236, 102, 143)
HSLhsl(342, 78%, 66%)
HSVhsv(342, 57%, 93%)
CMYKcmyk(0%, 56.8%, 39.4%, 7.5%)
CIE-LABlab(61.07, 55.50, 3.74)
CIE-LCHlch(61.07, 55.62, 3.85°)
OKLaboklab(68.62% 0.1691 0.0103)
OKLCHoklch(68.62% 0.169 3.5)
XYZxyz(44.3041, 29.3236, 29.3081)
Luminance0.2932 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC668F #66ECC3
analogous
#EC66D2 #EC668F #EC8066
triadic
#EC668F #8FEC66 #668FEC
tetradic
#EC668F #D2EC66 #66ECC3 #8066EC
square
#EC668F #D2EC66 #66ECC3 #8066EC
split-complementary
#EC668F #66EC80 #66D2EC
monochromatic
#C0184B #E53067 #EC668F #F39CB7 #FAD3DF

Accessibility & contrast

On white

3.06
#EC668F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#EC668F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC668F
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC668F#FFFFFF#000000##000000
##EC668F1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8390
Deuteranopia (green-blind)
#A29D8C
Tritanopia (blue-blind)
#FE5875
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ec668f;
/* rgb */ color: rgb(236, 102, 143);
/* oklch */ color: oklch(68.6% 0.169 3.5);
Tailwind
colors: {
  custom: {
    50: '#f697af',
    500: '#ec668f',
    950: '#000000',
  },
}
SCSS
$custom: #ec668f;
$custom-light: #f697af;
$custom-dark: #000000;
JSON
{
  "hex": "#ec668f",
  "rgb": {
    "r": 236,
    "g": 102,
    "b": 143
  },
  "hsl": {
    "h": 341.642,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68622,
    "c": 0.16941,
    "h": 3.5
  },
  "luminance": 0.29319
}

Semantic roles & 50–950 ramp

primary
#EC668F
secondary
#C1EDDF
accent
#DA9B0B
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180E10
muted
#867E7F

Preview Lab

Preview with #EC668F

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

Preview Lab → · Contrast checker → · Palette generator →

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