#EC787A#EC787A

#EC787A is a light, vivid red. Relative luminance 0.327; OKLCH L 70.6% C 0.143 H 20.3°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#EC787A
RGBrgb(236, 120, 122)
HSLhsl(359, 75%, 70%)
HSVhsv(359, 49%, 93%)
CMYKcmyk(0%, 49.2%, 48.3%, 7.5%)
CIE-LABlab(63.90, 44.80, 19.77)
CIE-LCHlch(63.90, 48.97, 23.81°)
OKLaboklab(70.6% 0.1344 0.0498)
OKLCHoklch(70.6% 0.143 20.3)
XYZxyz(44.8245, 32.6757, 22.3550)
Luminance0.3267 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC787A #78ECEA
analogous
#EC78B4 #EC787A #ECB078
triadic
#EC787A #7AEC78 #787AEC
tetradic
#EC787A #B4EC78 #78ECEA #B078EC
square
#EC787A #B4EC78 #78ECEA #B078EC
split-complementary
#EC787A #78ECB0 #78B4EC
monochromatic
#CD1D20 #E44245 #EC787A #F4AEAF #FBE3E4

Accessibility & contrast

On white

2.79
#EC787A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#EC787A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC787A
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC787A#FFFFFF#000000##000000
##EC787A1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928C79
Deuteranopia (green-blind)
#AEA478
Tritanopia (blue-blind)
#FF687A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ec787a;
/* rgb */ color: rgb(236, 120, 122);
/* oklch */ color: oklch(70.6% 0.143 20.3);
Tailwind
colors: {
  custom: {
    50: '#f6a1a0',
    500: '#ec787a',
    950: '#000000',
  },
}
SCSS
$custom: #ec787a;
$custom-light: #f6a1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec787a",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 122
  },
  "hsl": {
    "h": 358.966,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70596,
    "c": 0.14337,
    "h": 20.3
  },
  "luminance": 0.32671
}

Semantic roles & 50–950 ramp

primary
#EC787A
secondary
#D0F0F0
accent
#D7D40E
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#180F0E
muted
#867F7E

Preview Lab

Preview with #EC787A

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

Preview Lab → · Contrast checker → · Palette generator →

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