#EC796F#EC796F

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

Color values

HEX#EC796F
RGBrgb(236, 121, 111)
HSLhsl(5, 77%, 68%)
HSVhsv(5, 53%, 93%)
CMYKcmyk(0%, 48.7%, 53%, 7.5%)
CIE-LABlab(63.88, 43.34, 25.96)
CIE-LCHlch(63.88, 50.52, 30.92°)
OKLaboklab(70.52% 0.1286 0.064)
OKLCHoklch(70.52% 0.144 26.5)
XYZxyz(44.3020, 32.6601, 19.0068)
Luminance0.3266 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC796F #6FE2EC
analogous
#EC6FA3 #EC796F #ECB76F
triadic
#EC796F #6FEC79 #796FEC
tetradic
#EC796F #A3EC6F #6FE2EC #B76FEC
square
#EC796F #A3EC6F #6FE2EC #B76FEC
split-complementary
#EC796F #6FECB7 #6FA3EC
monochromatic
#C6281A #E54739 #EC796F #F3ABA5 #FADEDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC796F#FFFFFF#000000##000000
##EC796F1.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)
#948C6E
Deuteranopia (green-blind)
#B0A46D
Tritanopia (blue-blind)
#FF6777
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ec796f;
/* rgb */ color: rgb(236, 121, 111);
/* oklch */ color: oklch(70.5% 0.144 26.5);
Tailwind
colors: {
  custom: {
    50: '#f7a298',
    500: '#ec796f',
    950: '#000000',
  },
}
SCSS
$custom: #ec796f;
$custom-light: #f7a298;
$custom-dark: #000000;
JSON
{
  "hex": "#ec796f",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 111
  },
  "hsl": {
    "h": 4.8,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70518,
    "c": 0.14369,
    "h": 26.5
  },
  "luminance": 0.32655
}

Semantic roles & 50–950 ramp

primary
#EC796F
secondary
#C8EBEF
accent
#C9D90D
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#180F0D
muted
#867F7E

Preview Lab

Preview with #EC796F

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

Preview Lab → · Contrast checker → · Palette generator →

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