#EC7FD2#EC7FD2

#EC7FD2 is a light, vivid pink. Relative luminance 0.377; OKLCH L 74.3% C 0.166 H 336.8°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#EC7FD2
RGBrgb(236, 127, 210)
HSLhsl(314, 74%, 71%)
HSVhsv(314, 46%, 93%)
CMYKcmyk(0%, 46.2%, 11%, 7.5%)
CIE-LABlab(67.78, 52.54, -24.30)
CIE-LCHlch(67.78, 57.89, 335.18°)
OKLaboklab(74.34% 0.1527 -0.0654)
OKLCHoklch(74.34% 0.166 336.8)
XYZxyz(53.8145, 37.6682, 65.3965)
Luminance0.3766 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7FD2 #7FEC99
analogous
#CF7FEC #EC7FD2 #EC7F9B
triadic
#EC7FD2 #D2EC7F #7FD2EC
tetradic
#EC7FD2 #ECCF7F #7FEC99 #7F9BEC
square
#EC7FD2 #ECCF7F #7FEC99 #7F9BEC
split-complementary
#EC7FD2 #9BEC7F #7FECCF
monochromatic
#D21FA7 #E44ABF #EC7FD2 #F4B4E5 #FBE4F6

Accessibility & contrast

On white

2.46
#EC7FD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#EC7FD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7FD2
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7FD2#FFFFFF#000000##000000
##EC7FD21.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#819BD5
Deuteranopia (green-blind)
#9EABCF
Tritanopia (blue-blind)
#F6839F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ec7fd2;
/* rgb */ color: rgb(236, 127, 210);
/* oklch */ color: oklch(74.3% 0.166 336.8);
Tailwind
colors: {
  custom: {
    50: '#f4a7e0',
    500: '#ec7fd2',
    950: '#000000',
  },
}
SCSS
$custom: #ec7fd2;
$custom-light: #f4a7e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7fd2",
  "rgb": {
    "r": 236,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 314.312,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74344,
    "c": 0.16611,
    "h": 336.8
  },
  "luminance": 0.37665
}

Semantic roles & 50–950 ramp

primary
#EC7FD2
secondary
#D5F2DC
accent
#D63F0F
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #EC7FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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