#EC778F#EC778F

#EC778F is a light, vivid red. Relative luminance 0.330; OKLCH L 71.0% C 0.146 H 8.5°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#EC778F
RGBrgb(236, 119, 143)
HSLhsl(348, 75%, 70%)
HSVhsv(348, 50%, 93%)
CMYKcmyk(0%, 49.6%, 39.4%, 7.5%)
CIE-LABlab(64.17, 47.42, 8.20)
CIE-LCHlch(64.17, 48.12, 9.81°)
OKLaboklab(70.96% 0.1439 0.0216)
OKLCHoklch(70.96% 0.146 8.5)
XYZxyz(46.1494, 33.0142, 29.9232)
Luminance0.3301 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC778F #77ECD4
analogous
#EC77CA #EC778F #EC9977
triadic
#EC778F #8FEC77 #778FEC
tetradic
#EC778F #CAEC77 #77ECD4 #9977EC
square
#EC778F #CAEC77 #77ECD4 #9977EC
split-complementary
#EC778F #77EC99 #77CAEC
monochromatic
#CC1D41 #E44163 #EC778F #F4ADBB #FBE2E7

Accessibility & contrast

On white

2.76
#EC778F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#EC778F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC778F
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC778F#FFFFFF#000000##000000
##EC778F1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8D90
Deuteranopia (green-blind)
#AAA48C
Tritanopia (blue-blind)
#FE6B80
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ec778f;
/* rgb */ color: rgb(236, 119, 143);
/* oklch */ color: oklch(71.0% 0.146 8.5);
Tailwind
colors: {
  custom: {
    50: '#f6a1af',
    500: '#ec778f',
    950: '#000000',
  },
}
SCSS
$custom: #ec778f;
$custom-light: #f6a1af;
$custom-dark: #000000;
JSON
{
  "hex": "#ec778f",
  "rgb": {
    "r": 236,
    "g": 119,
    "b": 143
  },
  "hsl": {
    "h": 347.692,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70958,
    "c": 0.14556,
    "h": 8.5
  },
  "luminance": 0.3301
}

Semantic roles & 50–950 ramp

primary
#EC778F
secondary
#CFF0E9
accent
#D8AE0E
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F

Preview Lab

Preview with #EC778F

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

Preview Lab → · Contrast checker → · Palette generator →

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