#EC778C#EC778C

#EC778C is a light, vivid red. Relative luminance 0.329; OKLCH L 70.9% C 0.145 H 10.2°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#EC778C
RGBrgb(236, 119, 140)
HSLhsl(349, 75%, 70%)
HSVhsv(349, 50%, 93%)
CMYKcmyk(0%, 49.6%, 40.7%, 7.5%)
CIE-LABlab(64.10, 47.09, 9.81)
CIE-LCHlch(64.10, 48.10, 11.76°)
OKLaboklab(70.88% 0.1428 0.0257)
OKLCHoklch(70.88% 0.145 10.2)
XYZxyz(45.9252, 32.9245, 28.7423)
Luminance0.3292 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC778C #77ECD7
analogous
#EC77C6 #EC778C #EC9D77
triadic
#EC778C #8CEC77 #778CEC
tetradic
#EC778C #C6EC77 #77ECD7 #9D77EC
square
#EC778C #C6EC77 #77ECD7 #9D77EC
split-complementary
#EC778C #77EC9D #77C6EC
monochromatic
#CC1D3C #E4415F #EC778C #F4ADB9 #FBE2E7

Accessibility & contrast

On white

2.77
#EC778C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#EC778C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC778C
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC778C#FFFFFF#000000##000000
##EC778C1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8D8C
Deuteranopia (green-blind)
#ABA489
Tritanopia (blue-blind)
#FE6A7F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ec778c;
/* rgb */ color: rgb(236, 119, 140);
/* oklch */ color: oklch(70.9% 0.145 10.2);
Tailwind
colors: {
  custom: {
    50: '#f6a1ad',
    500: '#ec778c',
    950: '#000000',
  },
}
SCSS
$custom: #ec778c;
$custom-light: #f6a1ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ec778c",
  "rgb": {
    "r": 236,
    "g": 119,
    "b": 140
  },
  "hsl": {
    "h": 349.231,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70879,
    "c": 0.14512,
    "h": 10.2
  },
  "luminance": 0.3292
}

Semantic roles & 50–950 ramp

primary
#EC778C
secondary
#CFF0EA
accent
#D8B30E
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F

Preview Lab

Preview with #EC778C

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

Preview Lab → · Contrast checker → · Palette generator →

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