#EC7ED2#EC7ED2

#EC7ED2 is a light, vivid pink. Relative luminance 0.374; OKLCH L 74.2% C 0.168 H 336.7°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#EC7ED2
RGBrgb(236, 126, 210)
HSLhsl(314, 74%, 71%)
HSVhsv(314, 47%, 93%)
CMYKcmyk(0%, 46.6%, 11%, 7.5%)
CIE-LABlab(67.58, 53.03, -24.60)
CIE-LCHlch(67.58, 58.46, 335.12°)
OKLaboklab(74.2% 0.1541 -0.0662)
OKLCHoklch(74.2% 0.168 336.7)
XYZxyz(53.6860, 37.4112, 65.3537)
Luminance0.3741 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7ED2 #7EEC98
analogous
#CF7EEC #EC7ED2 #EC7E9B
triadic
#EC7ED2 #D2EC7E #7ED2EC
tetradic
#EC7ED2 #ECCF7E #7EEC98 #7E9BEC
square
#EC7ED2 #ECCF7E #7EEC98 #7E9BEC
split-complementary
#EC7ED2 #9BEC7E #7EECCF
monochromatic
#D11FA7 #E449BF #EC7ED2 #F4B3E5 #FBE4F6

Accessibility & contrast

On white

2.48
#EC7ED2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#EC7ED2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7ED2
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7ED2#FFFFFF#000000##000000
##EC7ED21.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#809AD5
Deuteranopia (green-blind)
#9EABCF
Tritanopia (blue-blind)
#F6829E
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ec7ed2;
/* rgb */ color: rgb(236, 126, 210);
/* oklch */ color: oklch(74.2% 0.168 336.7);
Tailwind
colors: {
  custom: {
    50: '#f4a6e0',
    500: '#ec7ed2',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ed2;
$custom-light: #f4a6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ed2",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 210
  },
  "hsl": {
    "h": 314.182,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74202,
    "c": 0.16775,
    "h": 336.7
  },
  "luminance": 0.37408
}

Semantic roles & 50–950 ramp

primary
#EC7ED2
secondary
#D4F2DB
accent
#D63E0F
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #EC7ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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