#EC70A7#EC70A7

#EC70A7 is a light, vivid pink. Relative luminance 0.322; OKLCH L 70.7% C 0.163 H 354.2°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#EC70A7
RGBrgb(236, 112, 167)
HSLhsl(333, 77%, 68%)
HSVhsv(333, 53%, 93%)
CMYKcmyk(0%, 52.5%, 29.2%, 7.5%)
CIE-LABlab(63.52, 53.64, -6.46)
CIE-LCHlch(63.52, 54.03, 353.13°)
OKLaboklab(70.68% 0.1626 -0.0164)
OKLCHoklch(70.68% 0.163 354.2)
XYZxyz(47.3632, 32.2156, 40.2755)
Luminance0.3221 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC70A7 #70ECB5
analogous
#EC70E5 #EC70A7 #EC7770
triadic
#EC70A7 #A7EC70 #70A7EC
tetradic
#EC70A7 #E5EC70 #70ECB5 #7770EC
square
#EC70A7 #E5EC70 #70ECB5 #7770EC
split-complementary
#EC70A7 #70EC77 #70E5EC
monochromatic
#C71A67 #E53A86 #EC70A7 #F3A6C8 #FADCE9

Accessibility & contrast

On white

2.82
#EC70A7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#EC70A7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC70A7
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC70A7#FFFFFF#000000##000000
##EC70A71.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#818CA9
Deuteranopia (green-blind)
#A2A2A4
Tritanopia (blue-blind)
#FC6985
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ec70a7;
/* rgb */ color: rgb(236, 112, 167);
/* oklch */ color: oklch(70.7% 0.163 354.2);
Tailwind
colors: {
  custom: {
    50: '#f59dc1',
    500: '#ec70a7',
    950: '#000000',
  },
}
SCSS
$custom: #ec70a7;
$custom-light: #f59dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec70a7",
  "rgb": {
    "r": 236,
    "g": 112,
    "b": 167
  },
  "hsl": {
    "h": 333.387,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70684,
    "c": 0.16344,
    "h": 354.2
  },
  "luminance": 0.32211
}

Semantic roles & 50–950 ramp

primary
#EC70A7
secondary
#C9EFDE
accent
#D97E0D
background
#FFF9FB
surface
#FFF2F7
border
#D7CCD0
text
#170F12
muted
#857E81

Preview Lab

Preview with #EC70A7

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

Preview Lab → · Contrast checker → · Palette generator →

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