#EC7966#EC7966

#EC7966 is a light, vivid red. Relative luminance 0.325; OKLCH L 70.4% C 0.146 H 30.8°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#EC7966
RGBrgb(236, 121, 102)
HSLhsl(9, 78%, 66%)
HSVhsv(9, 57%, 93%)
CMYKcmyk(0%, 48.7%, 56.8%, 7.5%)
CIE-LABlab(63.73, 42.63, 30.78)
CIE-LCHlch(63.73, 52.58, 35.83°)
OKLaboklab(70.35% 0.1252 0.0746)
OKLCHoklch(70.35% 0.146 30.8)
XYZxyz(43.8312, 32.4718, 16.5272)
Luminance0.3247 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7966 #66D9EC
analogous
#EC6696 #EC7966 #ECBC66
triadic
#EC7966 #66EC79 #7966EC
tetradic
#EC7966 #96EC66 #66D9EC #BC66EC
square
#EC7966 #96EC66 #66D9EC #BC66EC
split-complementary
#EC7966 #66ECBC #6696EC
monochromatic
#C03018 #E54930 #EC7966 #F3A99C #FAD8D3

Accessibility & contrast

On white

2.80
#EC7966 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#EC7966 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7966
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7966#FFFFFF#000000##000000
##EC79661.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958B64
Deuteranopia (green-blind)
#B1A464
Tritanopia (blue-blind)
#FF6675
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ec7966;
/* rgb */ color: rgb(236, 121, 102);
/* oklch */ color: oklch(70.4% 0.146 30.8);
Tailwind
colors: {
  custom: {
    50: '#f7a292',
    500: '#ec7966',
    950: '#000000',
  },
}
SCSS
$custom: #ec7966;
$custom-light: #f7a292;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7966",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 102
  },
  "hsl": {
    "h": 8.507,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70351,
    "c": 0.14573,
    "h": 30.8
  },
  "luminance": 0.32467
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7966

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

Preview Lab → · Contrast checker → · Palette generator →

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