#EC7866#EC7866

#EC7866 is a light, vivid red. Relative luminance 0.322; OKLCH L 70.2% C 0.147 H 30.3°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#EC7866
RGBrgb(236, 120, 102)
HSLhsl(8, 78%, 66%)
HSVhsv(8, 57%, 93%)
CMYKcmyk(0%, 49.2%, 56.8%, 7.5%)
CIE-LABlab(63.53, 43.13, 30.53)
CIE-LCHlch(63.53, 52.84, 35.29°)
OKLaboklab(70.2% 0.1267 0.074)
OKLCHoklch(70.2% 0.147 30.3)
XYZxyz(43.7103, 32.2300, 16.4869)
Luminance0.3222 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7866 #66DAEC
analogous
#EC6697 #EC7866 #ECBB66
triadic
#EC7866 #66EC78 #7866EC
tetradic
#EC7866 #97EC66 #66DAEC #BB66EC
square
#EC7866 #97EC66 #66DAEC #BB66EC
split-complementary
#EC7866 #66ECBB #6697EC
monochromatic
#C02E18 #E54830 #EC7866 #F3A89C #FAD8D3

Accessibility & contrast

On white

2.82
#EC7866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#EC7866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7866
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7866#FFFFFF#000000##000000
##EC78661.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948B64
Deuteranopia (green-blind)
#B1A364
Tritanopia (blue-blind)
#FF6474
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ec7866;
/* rgb */ color: rgb(236, 120, 102);
/* oklch */ color: oklch(70.2% 0.147 30.3);
Tailwind
colors: {
  custom: {
    50: '#f7a192',
    500: '#ec7866',
    950: '#000000',
  },
}
SCSS
$custom: #ec7866;
$custom-light: #f7a192;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7866",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 102
  },
  "hsl": {
    "h": 8.06,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.702,
    "c": 0.14676,
    "h": 30.3
  },
  "luminance": 0.32225
}

Semantic roles & 50–950 ramp

primary
#EC7866
secondary
#C1E7ED
accent
#BEDA0B
background
#FFFAF8
surface
#FFF4F0
border
#D7CECB
text
#180F0D
muted
#867F7D

Preview Lab

Preview with #EC7866

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

Preview Lab → · Contrast checker → · Palette generator →

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