#EC7FD9#EC7FD9

#EC7FD9 is a light, vivid pink. Relative luminance 0.380; OKLCH L 74.6% C 0.172 H 334.0°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#EC7FD9
RGBrgb(236, 127, 217)
HSLhsl(310, 74%, 71%)
HSVhsv(310, 46%, 93%)
CMYKcmyk(0%, 46.2%, 8.1%, 7.5%)
CIE-LABlab(68.04, 53.68, -27.79)
CIE-LCHlch(68.04, 60.44, 332.62°)
OKLaboklab(74.63% 0.1543 -0.0752)
OKLCHoklch(74.63% 0.172 334)
XYZxyz(54.7057, 38.0247, 70.0903)
Luminance0.3802 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7FD9 #7FEC92
analogous
#C87FEC #EC7FD9 #EC7FA2
triadic
#EC7FD9 #D9EC7F #7FD9EC
tetradic
#EC7FD9 #ECC87F #7FEC92 #7FA2EC
square
#EC7FD9 #ECC87F #7FEC92 #7FA2EC
split-complementary
#EC7FD9 #A2EC7F #7FECC8
monochromatic
#D21FB2 #E44AC9 #EC7FD9 #F4B4E9 #FBE4F7

Accessibility & contrast

On white

2.44
#EC7FD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#EC7FD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7FD9
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7FD9#FFFFFF#000000##000000
##EC7FD91.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9CDC
Deuteranopia (green-blind)
#9CACD6
Tritanopia (blue-blind)
#F585A2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ec7fd9;
/* rgb */ color: rgb(236, 127, 217);
/* oklch */ color: oklch(74.6% 0.172 334.0);
Tailwind
colors: {
  custom: {
    50: '#f4a7e5',
    500: '#ec7fd9',
    950: '#000000',
  },
}
SCSS
$custom: #ec7fd9;
$custom-light: #f4a7e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7fd9",
  "rgb": {
    "r": 236,
    "g": 127,
    "b": 217
  },
  "hsl": {
    "h": 310.459,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74628,
    "c": 0.17166,
    "h": 334
  },
  "luminance": 0.38021
}

Semantic roles & 50–950 ramp

primary
#EC7FD9
secondary
#D5F2DA
accent
#D6320F
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171015
muted
#857F84

Preview Lab

Preview with #EC7FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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