#EC70D4#EC70D4

#EC70D4 is a light, vivid pink. Relative luminance 0.342; OKLCH L 72.4% C 0.192 H 335.3°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#EC70D4
RGBrgb(236, 112, 212)
HSLhsl(312, 77%, 68%)
HSVhsv(312, 53%, 93%)
CMYKcmyk(0%, 52.5%, 10.2%, 7.5%)
CIE-LABlab(65.10, 60.06, -29.53)
CIE-LCHlch(65.10, 66.93, 333.82°)
OKLaboklab(72.38% 0.1742 -0.08)
OKLCHoklch(72.38% 0.192 335.3)
XYZxyz(52.2701, 34.1784, 66.1186)
Luminance0.3417 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC70D4 #70EC88
analogous
#C670EC #EC70D4 #EC7096
triadic
#EC70D4 #D4EC70 #70D4EC
tetradic
#EC70D4 #ECC670 #70EC88 #7096EC
square
#EC70D4 #ECC670 #70EC88 #7096EC
split-complementary
#EC70D4 #96EC70 #70ECC6
monochromatic
#C71AA6 #E53AC4 #EC70D4 #F3A6E4 #FADCF4

Accessibility & contrast

On white

2.68
#EC70D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#EC70D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC70D4
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC70D4#FFFFFF#000000##000000
##EC70D41.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7092D7
Deuteranopia (green-blind)
#94A5D1
Tritanopia (blue-blind)
#F67698
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec70d4;
/* rgb */ color: rgb(236, 112, 212);
/* oklch */ color: oklch(72.4% 0.192 335.3);
Tailwind
colors: {
  custom: {
    50: '#f59ee1',
    500: '#ec70d4',
    950: '#000000',
  },
}
SCSS
$custom: #ec70d4;
$custom-light: #f59ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec70d4",
  "rgb": {
    "r": 236,
    "g": 112,
    "b": 212
  },
  "hsl": {
    "h": 311.613,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72383,
    "c": 0.19164,
    "h": 335.3
  },
  "luminance": 0.34175
}

Semantic roles & 50–950 ramp

primary
#EC70D4
secondary
#C9EFD0
accent
#D9340D
background
#FFFAFD
surface
#FFF3FB
border
#D7CDD4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC70D4

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

Preview Lab → · Contrast checker → · Palette generator →

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