#EC7FD7#EC7FD7

#EC7FD7 is a light, vivid pink. Relative luminance 0.379; OKLCH L 74.5% C 0.170 H 334.8°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#EC7FD7
RGBrgb(236, 127, 215)
HSLhsl(312, 74%, 71%)
HSVhsv(312, 46%, 93%)
CMYKcmyk(0%, 46.2%, 8.9%, 7.5%)
CIE-LABlab(67.96, 53.35, -26.80)
CIE-LCHlch(67.96, 59.70, 333.33°)
OKLaboklab(74.55% 0.1539 -0.0724)
OKLCHoklch(74.55% 0.17 334.8)
XYZxyz(54.4472, 37.9213, 68.7285)
Luminance0.3792 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7FD7 #7FEC94
analogous
#CA7FEC #EC7FD7 #EC7FA0
triadic
#EC7FD7 #D7EC7F #7FD7EC
tetradic
#EC7FD7 #ECCA7F #7FEC94 #7FA0EC
square
#EC7FD7 #ECCA7F #7FEC94 #7FA0EC
split-complementary
#EC7FD7 #A0EC7F #7FECCA
monochromatic
#D21FAF #E44AC6 #EC7FD7 #F4B4E8 #FBE4F7

Accessibility & contrast

On white

2.45
#EC7FD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#EC7FD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7FD7
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7FD7#FFFFFF#000000##000000
##EC7FD71.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9CDA
Deuteranopia (green-blind)
#9DABD4
Tritanopia (blue-blind)
#F584A1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ec7fd7;
/* rgb */ color: rgb(236, 127, 215);
/* oklch */ color: oklch(74.5% 0.170 334.8);
Tailwind
colors: {
  custom: {
    50: '#f4a7e3',
    500: '#ec7fd7',
    950: '#000000',
  },
}
SCSS
$custom: #ec7fd7;
$custom-light: #f4a7e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7fd7",
  "rgb": {
    "r": 236,
    "g": 127,
    "b": 215
  },
  "hsl": {
    "h": 311.56,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74546,
    "c": 0.17005,
    "h": 334.8
  },
  "luminance": 0.37918
}

Semantic roles & 50–950 ramp

primary
#EC7FD7
secondary
#D5F2DB
accent
#D6360F
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #EC7FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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