#EC74CD#EC74CD

#EC74CD is a light, vivid pink. Relative luminance 0.347; OKLCH L 72.6% C 0.180 H 338.1°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#EC74CD
RGBrgb(236, 116, 205)
HSLhsl(316, 76%, 69%)
HSVhsv(316, 51%, 93%)
CMYKcmyk(0%, 50.8%, 13.1%, 7.5%)
CIE-LABlab(65.54, 57.09, -24.93)
CIE-LCHlch(65.54, 62.30, 336.41°)
OKLaboklab(72.62% 0.1672 -0.0671)
OKLCHoklch(72.62% 0.18 338.1)
XYZxyz(51.8574, 34.7352, 61.7190)
Luminance0.3473 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74CD #74EC93
analogous
#CF74EC #EC74CD #EC7491
triadic
#EC74CD #CDEC74 #74CDEC
tetradic
#EC74CD #ECCF74 #74EC93 #7491EC
square
#EC74CD #ECCF74 #74EC93 #7491EC
split-complementary
#EC74CD #91EC74 #74ECCF
monochromatic
#CA1C9D #E53EBA #EC74CD #F3AAE0 #FBE0F4

Accessibility & contrast

On white

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

On black

7.95
#EC74CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74CD
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74CD#FFFFFF#000000##000000
##EC74CD1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7893D0
Deuteranopia (green-blind)
#99A6CA
Tritanopia (blue-blind)
#F77897
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec74cd;
/* rgb */ color: rgb(236, 116, 205);
/* oklch */ color: oklch(72.6% 0.180 338.1);
Tailwind
colors: {
  custom: {
    50: '#f5a0dc',
    500: '#ec74cd',
    950: '#000000',
  },
}
SCSS
$custom: #ec74cd;
$custom-light: #f5a0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74cd",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 315.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72618,
    "c": 0.18012,
    "h": 338.1
  },
  "luminance": 0.34731
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC74CD

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

Preview Lab → · Contrast checker → · Palette generator →

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