#EC70C2#EC70C2

#EC70C2 is a light, vivid pink. Relative luminance 0.333; OKLCH L 71.7% C 0.179 H 342.2°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#EC70C2
RGBrgb(236, 112, 194)
HSLhsl(320, 77%, 68%)
HSVhsv(320, 53%, 93%)
CMYKcmyk(0%, 52.5%, 17.8%, 7.5%)
CIE-LABlab(64.42, 57.33, -20.45)
CIE-LCHlch(64.42, 60.87, 340.37°)
OKLaboklab(71.65% 0.1702 -0.0545)
OKLCHoklch(71.65% 0.179 342.2)
XYZxyz(50.1248, 33.3202, 54.8199)
Luminance0.3332 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC70C2 #70EC9A
analogous
#D870EC #EC70C2 #EC7084
triadic
#EC70C2 #C2EC70 #70C2EC
tetradic
#EC70C2 #ECD870 #70EC9A #7084EC
square
#EC70C2 #ECD870 #70EC9A #7084EC
split-complementary
#EC70C2 #84EC70 #70ECD8
monochromatic
#C71A8D #E53AAB #EC70C2 #F3A6D9 #FADCF0

Accessibility & contrast

On white

2.74
#EC70C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#EC70C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC70C2
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC70C2#FFFFFF#000000##000000
##EC70C21.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7890C5
Deuteranopia (green-blind)
#9AA4BF
Tritanopia (blue-blind)
#F97190
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ec70c2;
/* rgb */ color: rgb(236, 112, 194);
/* oklch */ color: oklch(71.7% 0.179 342.2);
Tailwind
colors: {
  custom: {
    50: '#f59ed4',
    500: '#ec70c2',
    950: '#000000',
  },
}
SCSS
$custom: #ec70c2;
$custom-light: #f59ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec70c2",
  "rgb": {
    "r": 236,
    "g": 112,
    "b": 194
  },
  "hsl": {
    "h": 320.323,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.7165,
    "c": 0.17872,
    "h": 342.2
  },
  "luminance": 0.33316
}

Semantic roles & 50–950 ramp

primary
#EC70C2
secondary
#C9EFD6
accent
#D9520D
background
#FFFAFD
surface
#FFF3FA
border
#D7CDD3
text
#170F14
muted
#857F83

Preview Lab

Preview with #EC70C2

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

Preview Lab → · Contrast checker → · Palette generator →

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