#EC74C8#EC74C8

#EC74C8 is a light, vivid pink. Relative luminance 0.345; OKLCH L 72.4% C 0.177 H 340.1°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#EC74C8
RGBrgb(236, 116, 200)
HSLhsl(318, 76%, 69%)
HSVhsv(318, 51%, 93%)
CMYKcmyk(0%, 50.8%, 15.3%, 7.5%)
CIE-LABlab(65.36, 56.33, -22.41)
CIE-LCHlch(65.36, 60.62, 338.31°)
OKLaboklab(72.42% 0.166 -0.06)
OKLCHoklch(72.42% 0.177 340.1)
XYZxyz(51.2635, 34.4976, 58.5911)
Luminance0.3449 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74C8 #74EC98
analogous
#D474EC #EC74C8 #EC748C
triadic
#EC74C8 #C8EC74 #74C8EC
tetradic
#EC74C8 #ECD474 #74EC98 #748CEC
square
#EC74C8 #ECD474 #74EC98 #748CEC
split-complementary
#EC74C8 #8CEC74 #74ECD4
monochromatic
#CA1C96 #E53EB3 #EC74C8 #F3AADD #FBE0F3

Accessibility & contrast

On white

2.66
#EC74C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#EC74C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74C8
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74C8#FFFFFF#000000##000000
##EC74C81.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A93CB
Deuteranopia (green-blind)
#9BA6C5
Tritanopia (blue-blind)
#F87695
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec74c8;
/* rgb */ color: rgb(236, 116, 200);
/* oklch */ color: oklch(72.4% 0.177 340.1);
Tailwind
colors: {
  custom: {
    50: '#f5a0d8',
    500: '#ec74c8',
    950: '#000000',
  },
}
SCSS
$custom: #ec74c8;
$custom-light: #f5a0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74c8",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 200
  },
  "hsl": {
    "h": 318,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72419,
    "c": 0.17652,
    "h": 340.1
  },
  "luminance": 0.34494
}

Semantic roles & 50–950 ramp

primary
#EC74C8
secondary
#CCEFD7
accent
#D84A0D
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#170F14
muted
#857F83

Preview Lab

Preview with #EC74C8

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

Preview Lab → · Contrast checker → · Palette generator →

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