#EC8ECA#EC8ECA

#EC8ECA is a light, vivid pink. Relative luminance 0.414; OKLCH L 76.3% C 0.135 H 342.0°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#EC8ECA
RGBrgb(236, 142, 202)
HSLhsl(322, 71%, 74%)
HSVhsv(322, 40%, 93%)
CMYKcmyk(0%, 39.8%, 14.4%, 7.5%)
CIE-LABlab(70.49, 43.68, -15.73)
CIE-LCHlch(70.49, 46.43, 340.19°)
OKLaboklab(76.29% 0.1284 -0.0418)
OKLCHoklch(76.29% 0.135 342)
XYZxyz(54.9261, 41.4465, 60.9726)
Luminance0.4144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8ECA #8EECB0
analogous
#DF8EEC #EC8ECA #EC8E9B
triadic
#EC8ECA #CAEC8E #8ECAEC
tetradic
#EC8ECA #ECDF8E #8EECB0 #8E9BEC
square
#EC8ECA #ECDF8E #8EECB0 #8E9BEC
split-complementary
#EC8ECA #9BEC8E #8EECDF
monochromatic
#DA2599 #E35AB1 #EC8ECA #F5C2E3 #FBE5F3

Accessibility & contrast

On white

2.26
#EC8ECA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#EC8ECA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8ECA
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8ECA#FFFFFF#000000##000000
##EC8ECA1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A3CC
Deuteranopia (green-blind)
#ABB2C7
Tritanopia (blue-blind)
#F78FA4
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ec8eca;
/* rgb */ color: rgb(236, 142, 202);
/* oklch */ color: oklch(76.3% 0.135 342.0);
Tailwind
colors: {
  custom: {
    50: '#f4b1da',
    500: '#ec8eca',
    950: '#000000',
  },
}
SCSS
$custom: #ec8eca;
$custom-light: #f4b1da;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8eca",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 202
  },
  "hsl": {
    "h": 321.702,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.76291,
    "c": 0.135,
    "h": 342
  },
  "luminance": 0.41443
}

Semantic roles & 50–950 ramp

primary
#EC8ECA
secondary
#D9F2E2
accent
#D35812
background
#FFFBFD
surface
#FEF6FA
border
#D6D0D3
text
#171114
muted
#858083

Preview Lab

Preview with #EC8ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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