#EC7CD7#EC7CD7

#EC7CD7 is a light, vivid pink. Relative luminance 0.372; OKLCH L 74.1% C 0.175 H 334.7°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#EC7CD7
RGBrgb(236, 124, 215)
HSLhsl(311, 75%, 71%)
HSVhsv(311, 47%, 93%)
CMYKcmyk(0%, 47.5%, 8.9%, 7.5%)
CIE-LABlab(67.40, 54.82, -27.67)
CIE-LCHlch(67.40, 61.41, 333.22°)
OKLaboklab(74.12% 0.1581 -0.0748)
OKLCHoklch(74.12% 0.175 334.7)
XYZxyz(54.0655, 37.1579, 68.6013)
Luminance0.3715 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CD7 #7CEC91
analogous
#C97CEC #EC7CD7 #EC7C9F
triadic
#EC7CD7 #D7EC7C #7CD7EC
tetradic
#EC7CD7 #ECC97C #7CEC91 #7C9FEC
square
#EC7CD7 #ECC97C #7CEC91 #7C9FEC
split-complementary
#EC7CD7 #9FEC7C #7CECC9
monochromatic
#D01EAE #E447C7 #EC7CD7 #F4B1E7 #FBE4F7

Accessibility & contrast

On white

2.49
#EC7CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#EC7CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CD7
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CD7#FFFFFF#000000##000000
##EC7CD71.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9ADA
Deuteranopia (green-blind)
#9BAAD4
Tritanopia (blue-blind)
#F582A0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec7cd7;
/* rgb */ color: rgb(236, 124, 215);
/* oklch */ color: oklch(74.1% 0.175 334.7);
Tailwind
colors: {
  custom: {
    50: '#f4a5e3',
    500: '#ec7cd7',
    950: '#000000',
  },
}
SCSS
$custom: #ec7cd7;
$custom-light: #f4a5e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7cd7",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 215
  },
  "hsl": {
    "h": 311.25,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74123,
    "c": 0.17494,
    "h": 334.7
  },
  "luminance": 0.37154
}

Semantic roles & 50–950 ramp

primary
#EC7CD7
secondary
#D3F1D8
accent
#D7340F
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #EC7CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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