#EC70D2#EC70D2

#EC70D2 is a light, vivid pink. Relative luminance 0.341; OKLCH L 72.3% C 0.190 H 336.1°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#EC70D2
RGBrgb(236, 112, 210)
HSLhsl(313, 77%, 68%)
HSVhsv(313, 53%, 93%)
CMYKcmyk(0%, 52.5%, 11%, 7.5%)
CIE-LABlab(65.02, 59.75, -28.53)
CIE-LCHlch(65.02, 66.21, 334.47°)
OKLaboklab(72.3% 0.1737 -0.0772)
OKLCHoklch(72.3% 0.19 336.1)
XYZxyz(52.0194, 34.0781, 64.7982)
Luminance0.3407 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC70D2 #70EC8A
analogous
#C870EC #EC70D2 #EC7094
triadic
#EC70D2 #D2EC70 #70D2EC
tetradic
#EC70D2 #ECC870 #70EC8A #7094EC
square
#EC70D2 #ECC870 #70EC8A #7094EC
split-complementary
#EC70D2 #94EC70 #70ECC8
monochromatic
#C71AA3 #E53AC1 #EC70D2 #F3A6E3 #FADCF4

Accessibility & contrast

On white

2.69
#EC70D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#EC70D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC70D2
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC70D2#FFFFFF#000000##000000
##EC70D21.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7192D5
Deuteranopia (green-blind)
#95A5CF
Tritanopia (blue-blind)
#F67698
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec70d2;
/* rgb */ color: rgb(236, 112, 210);
/* oklch */ color: oklch(72.3% 0.190 336.1);
Tailwind
colors: {
  custom: {
    50: '#f59ee0',
    500: '#ec70d2',
    950: '#000000',
  },
}
SCSS
$custom: #ec70d2;
$custom-light: #f59ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec70d2",
  "rgb": {
    "r": 236,
    "g": 112,
    "b": 210
  },
  "hsl": {
    "h": 312.581,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72298,
    "c": 0.19011,
    "h": 336.1
  },
  "luminance": 0.34074
}

Semantic roles & 50–950 ramp

primary
#EC70D2
secondary
#C9EFD1
accent
#D9380D
background
#FFFAFD
surface
#FFF3FB
border
#D7CDD4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC70D2

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

Preview Lab → · Contrast checker → · Palette generator →

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