#EC788F#EC788F

#EC788F is a light, vivid red. Relative luminance 0.332; OKLCH L 71.1% C 0.144 H 8.9°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#EC788F
RGBrgb(236, 120, 143)
HSLhsl(348, 75%, 70%)
HSVhsv(348, 49%, 93%)
CMYKcmyk(0%, 49.2%, 39.4%, 7.5%)
CIE-LABlab(64.37, 46.92, 8.47)
CIE-LCHlch(64.37, 47.68, 10.24°)
OKLaboklab(71.1% 0.1424 0.0223)
OKLCHoklch(71.1% 0.144 8.9)
XYZxyz(46.2690, 33.2535, 29.9631)
Luminance0.3325 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC788F #78ECD5
analogous
#EC78C9 #EC788F #EC9B78
triadic
#EC788F #8FEC78 #788FEC
tetradic
#EC788F #C9EC78 #78ECD5 #9B78EC
square
#EC788F #C9EC78 #78ECD5 #9B78EC
split-complementary
#EC788F #78EC9B #78C9EC
monochromatic
#CD1D40 #E44262 #EC788F #F4AEBC #FBE3E8

Accessibility & contrast

On white

2.75
#EC788F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#EC788F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC788F
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC788F#FFFFFF#000000##000000
##EC788F1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8E8F
Deuteranopia (green-blind)
#ABA58C
Tritanopia (blue-blind)
#FE6C80
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ec788f;
/* rgb */ color: rgb(236, 120, 143);
/* oklch */ color: oklch(71.1% 0.144 8.9);
Tailwind
colors: {
  custom: {
    50: '#f6a2af',
    500: '#ec788f',
    950: '#000000',
  },
}
SCSS
$custom: #ec788f;
$custom-light: #f6a2af;
$custom-dark: #000000;
JSON
{
  "hex": "#ec788f",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 143
  },
  "hsl": {
    "h": 348.103,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71104,
    "c": 0.14415,
    "h": 8.9
  },
  "luminance": 0.33249
}

Semantic roles & 50–950 ramp

primary
#EC788F
secondary
#D0F0EA
accent
#D7B00E
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F

Preview Lab

Preview with #EC788F

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

Preview Lab → · Contrast checker → · Palette generator →

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