#EC74CF#EC74CF

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

Color values

HEX#EC74CF
RGBrgb(236, 116, 207)
HSLhsl(315, 76%, 69%)
HSVhsv(315, 51%, 93%)
CMYKcmyk(0%, 50.8%, 12.3%, 7.5%)
CIE-LABlab(65.62, 57.40, -25.94)
CIE-LCHlch(65.62, 62.99, 335.69°)
OKLaboklab(72.7% 0.1676 -0.0699)
OKLCHoklch(72.7% 0.182 337.4)
XYZxyz(52.1004, 34.8324, 62.9986)
Luminance0.3483 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74CF #74EC91
analogous
#CD74EC #EC74CF #EC7493
triadic
#EC74CF #CFEC74 #74CFEC
tetradic
#EC74CF #ECCD74 #74EC91 #7493EC
square
#EC74CF #ECCD74 #74EC91 #7493EC
split-complementary
#EC74CF #93EC74 #74ECCD
monochromatic
#CA1CA0 #E53EBC #EC74CF #F3AAE2 #FBE0F4

Accessibility & contrast

On white

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

On black

7.97
#EC74CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74CF
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74CF#FFFFFF#000000##000000
##EC74CF1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7794D2
Deuteranopia (green-blind)
#98A6CC
Tritanopia (blue-blind)
#F77898
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec74cf;
/* rgb */ color: rgb(236, 116, 207);
/* oklch */ color: oklch(72.7% 0.182 337.4);
Tailwind
colors: {
  custom: {
    50: '#f5a0de',
    500: '#ec74cf',
    950: '#000000',
  },
}
SCSS
$custom: #ec74cf;
$custom-light: #f5a0de;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74cf",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 314.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.727,
    "c": 0.1816,
    "h": 337.4
  },
  "luminance": 0.34829
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC74CF

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

Preview Lab → · Contrast checker → · Palette generator →

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