#EC8CCF#EC8CCF

#EC8CCF is a light, vivid pink. Relative luminance 0.411; OKLCH L 76.2% C 0.142 H 339.2°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#EC8CCF
RGBrgb(236, 140, 207)
HSLhsl(318, 72%, 74%)
HSVhsv(318, 41%, 93%)
CMYKcmyk(0%, 40.7%, 12.3%, 7.5%)
CIE-LABlab(70.24, 45.50, -18.87)
CIE-LCHlch(70.24, 49.26, 337.47°)
OKLaboklab(76.16% 0.1328 -0.0504)
OKLCHoklch(76.16% 0.142 339.2)
XYZxyz(55.2328, 41.0973, 64.0428)
Luminance0.4109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8CCF #8CECA9
analogous
#D98CEC #EC8CCF #EC8C9F
triadic
#EC8CCF #CFEC8C #8CCFEC
tetradic
#EC8CCF #ECD98C #8CECA9 #8C9FEC
square
#EC8CCF #ECD98C #8CECA9 #8C9FEC
split-complementary
#EC8CCF #9FEC8C #8CECD9
monochromatic
#DA24A3 #E357B9 #EC8CCF #F5C1E5 #FBE5F4

Accessibility & contrast

On white

2.28
#EC8CCF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#EC8CCF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8CCF
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8CCF#FFFFFF#000000##000000
##EC8CCF1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA3D1
Deuteranopia (green-blind)
#A8B1CC
Tritanopia (blue-blind)
#F68EA5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ec8ccf;
/* rgb */ color: rgb(236, 140, 207);
/* oklch */ color: oklch(76.2% 0.142 339.2);
Tailwind
colors: {
  custom: {
    50: '#f4afdd',
    500: '#ec8ccf',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ccf;
$custom-light: #f4afdd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ccf",
  "rgb": {
    "r": 236,
    "g": 140,
    "b": 207
  },
  "hsl": {
    "h": 318.125,
    "s": 71.642,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76163,
    "c": 0.14206,
    "h": 339.2
  },
  "luminance": 0.41094
}

Semantic roles & 50–950 ramp

primary
#EC8CCF
secondary
#D9F2E0
accent
#D44C12
background
#FFFAFD
surface
#FEF5FB
border
#D6CFD4
text
#171115
muted
#858083

Preview Lab

Preview with #EC8CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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