#EC74CE#EC74CE

#EC74CE is a light, vivid pink. Relative luminance 0.348; OKLCH L 72.7% C 0.181 H 337.8°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#EC74CE
RGBrgb(236, 116, 206)
HSLhsl(315, 76%, 69%)
HSVhsv(315, 51%, 93%)
CMYKcmyk(0%, 50.8%, 12.7%, 7.5%)
CIE-LABlab(65.58, 57.25, -25.43)
CIE-LCHlch(65.58, 62.64, 336.05°)
OKLaboklab(72.66% 0.1674 -0.0685)
OKLCHoklch(72.66% 0.181 337.8)
XYZxyz(51.9785, 34.7836, 62.3568)
Luminance0.3478 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74CE #74EC92
analogous
#CE74EC #EC74CE #EC7492
triadic
#EC74CE #CEEC74 #74CEEC
tetradic
#EC74CE #ECCE74 #74EC92 #7492EC
square
#EC74CE #ECCE74 #74EC92 #7492EC
split-complementary
#EC74CE #92EC74 #74ECCE
monochromatic
#CA1C9E #E53EBB #EC74CE #F3AAE1 #FBE0F4

Accessibility & contrast

On white

2.64
#EC74CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#EC74CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74CE
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74CE#FFFFFF#000000##000000
##EC74CE1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7794D1
Deuteranopia (green-blind)
#99A6CB
Tritanopia (blue-blind)
#F77898
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec74ce;
/* rgb */ color: rgb(236, 116, 206);
/* oklch */ color: oklch(72.7% 0.181 337.8);
Tailwind
colors: {
  custom: {
    50: '#f5a0dd',
    500: '#ec74ce',
    950: '#000000',
  },
}
SCSS
$custom: #ec74ce;
$custom-light: #f5a0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74ce",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 206
  },
  "hsl": {
    "h": 315,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72659,
    "c": 0.18086,
    "h": 337.8
  },
  "luminance": 0.3478
}

Semantic roles & 50–950 ramp

primary
#EC74CE
secondary
#CCEFD5
accent
#D8400D
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC74CE

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

Preview Lab → · Contrast checker → · Palette generator →

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