#EC70A2#EC70A2

#EC70A2 is a light, vivid pink. Relative luminance 0.320; OKLCH L 70.5% C 0.161 H 356.7°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#EC70A2
RGBrgb(236, 112, 162)
HSLhsl(336, 77%, 68%)
HSVhsv(336, 53%, 93%)
CMYKcmyk(0%, 52.5%, 31.4%, 7.5%)
CIE-LABlab(63.37, 53.02, -3.83)
CIE-LCHlch(63.37, 53.16, 355.87°)
OKLaboklab(70.52% 0.161 -0.0094)
OKLCHoklch(70.52% 0.161 356.7)
XYZxyz(46.9099, 32.0343, 37.8881)
Luminance0.3203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC70A2 #70ECBA
analogous
#EC70E0 #EC70A2 #EC7C70
triadic
#EC70A2 #A2EC70 #70A2EC
tetradic
#EC70A2 #E0EC70 #70ECBA #7C70EC
square
#EC70A2 #E0EC70 #70ECBA #7C70EC
split-complementary
#EC70A2 #70EC7C #70E0EC
monochromatic
#C71A60 #E53A7F #EC70A2 #F3A6C5 #FADCE8

Accessibility & contrast

On white

2.84
#EC70A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#EC70A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC70A2
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC70A2#FFFFFF#000000##000000
##EC70A21.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#828BA4
Deuteranopia (green-blind)
#A3A29F
Tritanopia (blue-blind)
#FC6883
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ec70a2;
/* rgb */ color: rgb(236, 112, 162);
/* oklch */ color: oklch(70.5% 0.161 356.7);
Tailwind
colors: {
  custom: {
    50: '#f59dbd',
    500: '#ec70a2',
    950: '#000000',
  },
}
SCSS
$custom: #ec70a2;
$custom-light: #f59dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec70a2",
  "rgb": {
    "r": 236,
    "g": 112,
    "b": 162
  },
  "hsl": {
    "h": 335.806,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70523,
    "c": 0.16129,
    "h": 356.7
  },
  "luminance": 0.3203
}

Semantic roles & 50–950 ramp

primary
#EC70A2
secondary
#C9EFE0
accent
#D9860D
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180F12
muted
#867E81

Preview Lab

Preview with #EC70A2

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

Preview Lab → · Contrast checker → · Palette generator →

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