#EC7AD4#EC7AD4

#EC7AD4 is a light, vivid pink. Relative luminance 0.365; OKLCH L 73.7% C 0.176 H 335.7°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#EC7AD4
RGBrgb(236, 122, 212)
HSLhsl(313, 75%, 70%)
HSVhsv(313, 48%, 93%)
CMYKcmyk(0%, 48.3%, 10.2%, 7.5%)
CIE-LABlab(66.91, 55.31, -26.75)
CIE-LCHlch(66.91, 61.44, 334.19°)
OKLaboklab(73.72% 0.1603 -0.0722)
OKLCHoklch(73.72% 0.176 335.7)
XYZxyz(53.4354, 36.5089, 66.5070)
Luminance0.3650 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7AD4 #7AEC92
analogous
#CB7AEC #EC7AD4 #EC7A9B
triadic
#EC7AD4 #D4EC7A #7AD4EC
tetradic
#EC7AD4 #ECCB7A #7AEC92 #7A9BEC
square
#EC7AD4 #ECCB7A #7AEC92 #7A9BEC
split-complementary
#EC7AD4 #9BEC7A #7AECCB
monochromatic
#CE1DA9 #E444C3 #EC7AD4 #F4B0E5 #FBE4F6

Accessibility & contrast

On white

2.53
#EC7AD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#EC7AD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7AD4
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7AD4#FFFFFF#000000##000000
##EC7AD41.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B98D7
Deuteranopia (green-blind)
#9BA9D1
Tritanopia (blue-blind)
#F67F9D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec7ad4;
/* rgb */ color: rgb(236, 122, 212);
/* oklch */ color: oklch(73.7% 0.176 335.7);
Tailwind
colors: {
  custom: {
    50: '#f4a4e1',
    500: '#ec7ad4',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ad4;
$custom-light: #f4a4e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ad4",
  "rgb": {
    "r": 236,
    "g": 122,
    "b": 212
  },
  "hsl": {
    "h": 312.632,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73721,
    "c": 0.17581,
    "h": 335.7
  },
  "luminance": 0.36505
}

Semantic roles & 50–950 ramp

primary
#EC7AD4
secondary
#D1F1D8
accent
#D7390E
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC7AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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