#EC7ECA#EC7ECA

#EC7ECA is a light, vivid pink. Relative luminance 0.370; OKLCH L 73.9% C 0.162 H 340.1°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#EC7ECA
RGBrgb(236, 126, 202)
HSLhsl(319, 74%, 71%)
HSVhsv(319, 47%, 93%)
CMYKcmyk(0%, 46.6%, 14.4%, 7.5%)
CIE-LABlab(67.29, 51.78, -20.57)
CIE-LCHlch(67.29, 55.71, 338.33°)
OKLaboklab(73.89% 0.1522 -0.055)
OKLCHoklch(73.89% 0.162 340.1)
XYZxyz(52.7141, 37.0225, 60.2353)
Luminance0.3702 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7ECA #7EECA0
analogous
#D77EEC #EC7ECA #EC7E93
triadic
#EC7ECA #CAEC7E #7ECAEC
tetradic
#EC7ECA #ECD77E #7EECA0 #7E93EC
square
#EC7ECA #ECD77E #7EECA0 #7E93EC
split-complementary
#EC7ECA #93EC7E #7EECD7
monochromatic
#D11F9A #E449B4 #EC7ECA #F4B3E0 #FBE4F4

Accessibility & contrast

On white

2.50
#EC7ECA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#EC7ECA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7ECA
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7ECA#FFFFFF#000000##000000
##EC7ECA1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8399CD
Deuteranopia (green-blind)
#A0AAC7
Tritanopia (blue-blind)
#F7809B
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec7eca;
/* rgb */ color: rgb(236, 126, 202);
/* oklch */ color: oklch(73.9% 0.162 340.1);
Tailwind
colors: {
  custom: {
    50: '#f4a6da',
    500: '#ec7eca',
    950: '#000000',
  },
}
SCSS
$custom: #ec7eca;
$custom-light: #f4a6da;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7eca",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 318.545,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73889,
    "c": 0.16179,
    "h": 340.1
  },
  "luminance": 0.37019
}

Semantic roles & 50–950 ramp

primary
#EC7ECA
secondary
#D4F2DD
accent
#D64D0F
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#171014
muted
#857F83

Preview Lab

Preview with #EC7ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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