#EC788D#EC788D

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

Color values

HEX#EC788D
RGBrgb(236, 120, 141)
HSLhsl(349, 75%, 70%)
HSVhsv(349, 49%, 93%)
CMYKcmyk(0%, 49.2%, 40.3%, 7.5%)
CIE-LABlab(64.32, 46.71, 9.54)
CIE-LCHlch(64.32, 47.67, 11.55°)
OKLaboklab(71.05% 0.1417 0.025)
OKLCHoklch(71.05% 0.144 10)
XYZxyz(46.1189, 33.1934, 29.1723)
Luminance0.3319 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC788D #78ECD7
analogous
#EC78C7 #EC788D #EC9D78
triadic
#EC788D #8DEC78 #788DEC
tetradic
#EC788D #C7EC78 #78ECD7 #9D78EC
square
#EC788D #C7EC78 #78ECD7 #9D78EC
split-complementary
#EC788D #78EC9D #78C7EC
monochromatic
#CD1D3D #E44260 #EC788D #F4AEBA #FBE3E8

Accessibility & contrast

On white

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

On black

7.64
#EC788D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC788D
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC788D#FFFFFF#000000##000000
##EC788D1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8E8D
Deuteranopia (green-blind)
#ABA58B
Tritanopia (blue-blind)
#FE6B80
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ec788d;
/* rgb */ color: rgb(236, 120, 141);
/* oklch */ color: oklch(71.1% 0.144 10.0);
Tailwind
colors: {
  custom: {
    50: '#f6a2ae',
    500: '#ec788d',
    950: '#000000',
  },
}
SCSS
$custom: #ec788d;
$custom-light: #f6a2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ec788d",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 141
  },
  "hsl": {
    "h": 349.138,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71051,
    "c": 0.14386,
    "h": 10
  },
  "luminance": 0.33189
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC788D

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

Preview Lab → · Contrast checker → · Palette generator →

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