#EC9EDD#EC9EDD

#EC9EDD is a light, vivid pink. Relative luminance 0.475; OKLCH L 79.6% C 0.122 H 333.8°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#EC9EDD
RGBrgb(236, 158, 221)
HSLhsl(312, 67%, 77%)
HSVhsv(312, 33%, 93%)
CMYKcmyk(0%, 33.1%, 6.4%, 7.5%)
CIE-LABlab(74.51, 38.46, -20.11)
CIE-LCHlch(74.51, 43.40, 332.40°)
OKLaboklab(79.55% 0.1097 -0.054)
OKLCHoklch(79.55% 0.122 333.8)
XYZxyz(59.8695, 47.5097, 74.4093)
Luminance0.4751 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC9EDD #9EECAD
analogous
#D49EEC #EC9EDD #EC9EB6
triadic
#EC9EDD #DDEC9E #9EDDEC
tetradic
#EC9EDD #ECD49E #9EECAD #9EB6EC
square
#EC9EDD #ECD49E #9EECAD #9EB6EC
split-complementary
#EC9EDD #B6EC9E #9EECD4
monochromatic
#D838B9 #E26BCB #EC9EDD #F6D1EF #FAE5F6

Accessibility & contrast

On white

2.00
#EC9EDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#EC9EDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC9EDD
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC9EDD#FFFFFF#000000##000000
##EC9EDD1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB0DF
Deuteranopia (green-blind)
#B1BBDB
Tritanopia (blue-blind)
#F3A2B5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ec9edd;
/* rgb */ color: rgb(236, 158, 221);
/* oklch */ color: oklch(79.6% 0.122 333.8);
Tailwind
colors: {
  custom: {
    50: '#f3bbe7',
    500: '#ec9edd',
    950: '#000000',
  },
}
SCSS
$custom: #ec9edd;
$custom-light: #f3bbe7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec9edd",
  "rgb": {
    "r": 236,
    "g": 158,
    "b": 221
  },
  "hsl": {
    "h": 311.538,
    "s": 67.241,
    "l": 77.255
  },
  "oklch": {
    "l": 0.79551,
    "c": 0.12229,
    "h": 333.8
  },
  "luminance": 0.47507
}

Semantic roles & 50–950 ramp

primary
#EC9EDD
secondary
#D9F2DE
accent
#CF3A16
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171216
muted
#858184

Preview Lab

Preview with #EC9EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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