#EC786C#EC786C

#EC786C is a light, vivid red. Relative luminance 0.323; OKLCH L 70.3% C 0.145 H 27.4°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#EC786C
RGBrgb(236, 120, 108)
HSLhsl(6, 77%, 67%)
HSVhsv(6, 54%, 93%)
CMYKcmyk(0%, 49.2%, 54.2%, 7.5%)
CIE-LABlab(63.63, 43.59, 27.31)
CIE-LCHlch(63.63, 51.44, 32.06°)
OKLaboklab(70.31% 0.129 0.067)
OKLCHoklch(70.31% 0.145 27.4)
XYZxyz(44.0187, 32.3534, 18.1111)
Luminance0.3235 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC786C #6CE0EC
analogous
#EC6CA0 #EC786C #ECB86C
triadic
#EC786C #6CEC78 #786CEC
tetradic
#EC786C #A0EC6C #6CE0EC #B86CEC
square
#EC786C #A0EC6C #6CE0EC #B86CEC
split-complementary
#EC786C #6CECB8 #6CA0EC
monochromatic
#C42919 #E54636 #EC786C #F3AAA2 #FADCD8

Accessibility & contrast

On white

2.81
#EC786C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#EC786C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC786C
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC786C#FFFFFF#000000##000000
##EC786C1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948B6A
Deuteranopia (green-blind)
#B0A36A
Tritanopia (blue-blind)
#FF6575
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ec786c;
/* rgb */ color: rgb(236, 120, 108);
/* oklch */ color: oklch(70.3% 0.145 27.4);
Tailwind
colors: {
  custom: {
    50: '#f7a196',
    500: '#ec786c',
    950: '#000000',
  },
}
SCSS
$custom: #ec786c;
$custom-light: #f7a196;
$custom-dark: #000000;
JSON
{
  "hex": "#ec786c",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 108
  },
  "hsl": {
    "h": 5.625,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.7031,
    "c": 0.14539,
    "h": 27.4
  },
  "luminance": 0.32349
}

Semantic roles & 50–950 ramp

primary
#EC786C
secondary
#C6EAEE
accent
#C6D90C
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#180F0D
muted
#867F7E

Preview Lab

Preview with #EC786C

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

Preview Lab → · Contrast checker → · Palette generator →

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