#EC78CF#EC78CF

#EC78CF is a light, vivid pink. Relative luminance 0.358; OKLCH L 73.2% C 0.175 H 337.6°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#EC78CF
RGBrgb(236, 120, 207)
HSLhsl(315, 75%, 70%)
HSVhsv(315, 49%, 93%)
CMYKcmyk(0%, 49.2%, 12.3%, 7.5%)
CIE-LABlab(66.35, 55.49, -24.82)
CIE-LCHlch(66.35, 60.78, 335.90°)
OKLaboklab(73.24% 0.162 -0.0668)
OKLCHoklch(73.24% 0.175 337.6)
XYZxyz(52.5714, 35.7745, 63.1556)
Luminance0.3577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC78CF #78EC95
analogous
#CF78EC #EC78CF #EC7895
triadic
#EC78CF #CFEC78 #78CFEC
tetradic
#EC78CF #ECCF78 #78EC95 #7895EC
square
#EC78CF #ECCF78 #78EC95 #7895EC
split-complementary
#EC78CF #95EC78 #78ECCF
monochromatic
#CD1DA1 #E442BC #EC78CF #F4AEE2 #FBE3F5

Accessibility & contrast

On white

2.58
#EC78CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#EC78CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC78CF
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC78CF#FFFFFF#000000##000000
##EC78CF1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B96D2
Deuteranopia (green-blind)
#9BA8CC
Tritanopia (blue-blind)
#F77C9A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec78cf;
/* rgb */ color: rgb(236, 120, 207);
/* oklch */ color: oklch(73.2% 0.175 337.6);
Tailwind
colors: {
  custom: {
    50: '#f4a3dd',
    500: '#ec78cf',
    950: '#000000',
  },
}
SCSS
$custom: #ec78cf;
$custom-light: #f4a3dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec78cf",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 315,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73242,
    "c": 0.17522,
    "h": 337.6
  },
  "luminance": 0.35771
}

Semantic roles & 50–950 ramp

primary
#EC78CF
secondary
#D0F0D8
accent
#D7400E
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC78CF

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

Preview Lab → · Contrast checker → · Palette generator →

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