#EC9CD5#EC9CD5

#EC9CD5 is a light, moderate pink. Relative luminance 0.464; OKLCH L 78.9% C 0.119 H 337.9°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#EC9CD5
RGBrgb(236, 156, 213)
HSLhsl(317, 68%, 77%)
HSVhsv(317, 34%, 93%)
CMYKcmyk(0%, 33.9%, 9.7%, 7.5%)
CIE-LABlab(73.82, 38.16, -16.78)
CIE-LCHlch(73.82, 41.68, 336.26°)
OKLaboklab(78.93% 0.1104 -0.0448)
OKLCHoklch(78.93% 0.119 337.9)
XYZxyz(58.4906, 46.4168, 68.8163)
Luminance0.4641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC9CD5 #9CECB3
analogous
#DB9CEC #EC9CD5 #EC9CAD
triadic
#EC9CD5 #D5EC9C #9CD5EC
tetradic
#EC9CD5 #ECDB9C #9CECB3 #9CADEC
square
#EC9CD5 #ECDB9C #9CECB3 #9CADEC
split-complementary
#EC9CD5 #ADEC9C #9CECDB
monochromatic
#D835A9 #E269BF #EC9CD5 #F6CFEB #FAE5F4

Accessibility & contrast

On white

2.04
#EC9CD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#EC9CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC9CD5
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC9CD5#FFFFFF#000000##000000
##EC9CD51.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EAED7
Deuteranopia (green-blind)
#B2BAD3
Tritanopia (blue-blind)
#F49EB0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ec9cd5;
/* rgb */ color: rgb(236, 156, 213);
/* oklch */ color: oklch(78.9% 0.119 337.9);
Tailwind
colors: {
  custom: {
    50: '#f3bae2',
    500: '#ec9cd5',
    950: '#000000',
  },
}
SCSS
$custom: #ec9cd5;
$custom-light: #f3bae2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec9cd5",
  "rgb": {
    "r": 236,
    "g": 156,
    "b": 213
  },
  "hsl": {
    "h": 317.25,
    "s": 67.797,
    "l": 76.863
  },
  "oklch": {
    "l": 0.78932,
    "c": 0.11916,
    "h": 337.9
  },
  "luminance": 0.46414
}

Semantic roles & 50–950 ramp

primary
#EC9CD5
secondary
#D9F2E0
accent
#D04B16
background
#FFFBFD
surface
#FEF6FB
border
#D6D0D4
text
#171215
muted
#858183

Preview Lab

Preview with #EC9CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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