#EC74D2#EC74D2

#EC74D2 is a light, vivid pink. Relative luminance 0.350; OKLCH L 72.8% C 0.184 H 336.2°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#EC74D2
RGBrgb(236, 116, 210)
HSLhsl(313, 76%, 69%)
HSVhsv(313, 51%, 93%)
CMYKcmyk(0%, 50.8%, 11%, 7.5%)
CIE-LABlab(65.73, 57.87, -27.44)
CIE-LCHlch(65.73, 64.04, 334.63°)
OKLaboklab(72.82% 0.1683 -0.0741)
OKLCHoklch(72.82% 0.184 336.2)
XYZxyz(52.4706, 34.9805, 64.9486)
Luminance0.3498 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74D2 #74EC8E
analogous
#CA74EC #EC74D2 #EC7496
triadic
#EC74D2 #D2EC74 #74D2EC
tetradic
#EC74D2 #ECCA74 #74EC8E #7496EC
square
#EC74D2 #ECCA74 #74EC8E #7496EC
split-complementary
#EC74D2 #96EC74 #74ECCA
monochromatic
#CA1CA4 #E53EC1 #EC74D2 #F3AAE3 #FBE0F5

Accessibility & contrast

On white

2.63
#EC74D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#EC74D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74D2
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74D2#FFFFFF#000000##000000
##EC74D21.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7694D5
Deuteranopia (green-blind)
#97A6CF
Tritanopia (blue-blind)
#F67999
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ec74d2;
/* rgb */ color: rgb(236, 116, 210);
/* oklch */ color: oklch(72.8% 0.184 336.2);
Tailwind
colors: {
  custom: {
    50: '#f5a0e0',
    500: '#ec74d2',
    950: '#000000',
  },
}
SCSS
$custom: #ec74d2;
$custom-light: #f5a0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74d2",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 210
  },
  "hsl": {
    "h": 313,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72823,
    "c": 0.18386,
    "h": 336.2
  },
  "luminance": 0.34977
}

Semantic roles & 50–950 ramp

primary
#EC74D2
secondary
#CCEFD4
accent
#D8390D
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC74D2

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

Preview Lab → · Contrast checker → · Palette generator →

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