#EC796A#EC796A

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

Color values

HEX#EC796A
RGBrgb(236, 121, 106)
HSLhsl(7, 77%, 67%)
HSVhsv(7, 55%, 93%)
CMYKcmyk(0%, 48.7%, 55.1%, 7.5%)
CIE-LABlab(63.80, 42.94, 28.64)
CIE-LCHlch(63.80, 51.61, 33.71°)
OKLaboklab(70.42% 0.1267 0.07)
OKLCHoklch(70.42% 0.145 28.9)
XYZxyz(44.0343, 32.5531, 17.5973)
Luminance0.3255 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC796A #6ADDEC
analogous
#EC6A9C #EC796A #ECBA6A
triadic
#EC796A #6AEC79 #796AEC
tetradic
#EC796A #9CEC6A #6ADDEC #BA6AEC
square
#EC796A #9CEC6A #6ADDEC #BA6AEC
split-complementary
#EC796A #6AECBA #6A9CEC
monochromatic
#C32C19 #E54834 #EC796A #F3AAA0 #FADBD7

Accessibility & contrast

On white

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

On black

7.51
#EC796A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC796A
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC796A#FFFFFF#000000##000000
##EC796A1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958C68
Deuteranopia (green-blind)
#B1A468
Tritanopia (blue-blind)
#FF6676
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ec796a;
/* rgb */ color: rgb(236, 121, 106);
/* oklch */ color: oklch(70.4% 0.145 28.9);
Tailwind
colors: {
  custom: {
    50: '#f7a294',
    500: '#ec796a',
    950: '#000000',
  },
}
SCSS
$custom: #ec796a;
$custom-light: #f7a294;
$custom-dark: #000000;
JSON
{
  "hex": "#ec796a",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 106
  },
  "hsl": {
    "h": 6.923,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70423,
    "c": 0.14475,
    "h": 28.9
  },
  "luminance": 0.32548
}

Semantic roles & 50–950 ramp

primary
#EC796A
secondary
#C4E9EE
accent
#C2DA0C
background
#FFFAF9
surface
#FFF4F1
border
#D7CECB
text
#180F0D
muted
#867F7E

Preview Lab

Preview with #EC796A

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

Preview Lab → · Contrast checker → · Palette generator →

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