#EC786D#EC786D

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

Color values

HEX#EC786D
RGBrgb(236, 120, 109)
HSLhsl(5, 77%, 68%)
HSVhsv(5, 54%, 93%)
CMYKcmyk(0%, 49.2%, 53.8%, 7.5%)
CIE-LABlab(63.65, 43.68, 26.77)
CIE-LCHlch(63.65, 51.23, 31.51°)
OKLaboklab(70.33% 0.1294 0.0658)
OKLCHoklch(70.33% 0.145 27)
XYZxyz(44.0722, 32.3748, 18.3930)
Luminance0.3237 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC786D #6DE1EC
analogous
#EC6DA1 #EC786D #ECB86D
triadic
#EC786D #6DEC78 #786DEC
tetradic
#EC786D #A1EC6D #6DE1EC #B86DEC
square
#EC786D #A1EC6D #6DE1EC #B86DEC
split-complementary
#EC786D #6DECB8 #6DA1EC
monochromatic
#C5281A #E54637 #EC786D #F3AAA3 #FADCD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC786D#FFFFFF#000000##000000
##EC786D1.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)
#948B6C
Deuteranopia (green-blind)
#B0A36B
Tritanopia (blue-blind)
#FF6676
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ec786d;
/* rgb */ color: rgb(236, 120, 109);
/* oklch */ color: oklch(70.3% 0.145 27.0);
Tailwind
colors: {
  custom: {
    50: '#f7a197',
    500: '#ec786d',
    950: '#000000',
  },
}
SCSS
$custom: #ec786d;
$custom-light: #f7a197;
$custom-dark: #000000;
JSON
{
  "hex": "#ec786d",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 109
  },
  "hsl": {
    "h": 5.197,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70329,
    "c": 0.14519,
    "h": 27
  },
  "luminance": 0.3237
}

Semantic roles & 50–950 ramp

primary
#EC786D
secondary
#C7EBEE
accent
#C7D90C
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#180F0D
muted
#867F7E

Preview Lab

Preview with #EC786D

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

Preview Lab → · Contrast checker → · Palette generator →

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