#EC797A#EC797A

#EC797A is a light, vivid red. Relative luminance 0.329; OKLCH L 70.7% C 0.142 H 20.8°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#EC797A
RGBrgb(236, 121, 122)
HSLhsl(359, 75%, 70%)
HSVhsv(359, 49%, 93%)
CMYKcmyk(0%, 48.7%, 48.3%, 7.5%)
CIE-LABlab(64.09, 44.31, 20.04)
CIE-LCHlch(64.09, 48.63, 24.33°)
OKLaboklab(70.75% 0.1329 0.0504)
OKLCHoklch(70.75% 0.142 20.8)
XYZxyz(44.9454, 32.9175, 22.3953)
Luminance0.3291 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC797A #79ECEB
analogous
#EC79B4 #EC797A #ECB179
triadic
#EC797A #7AEC79 #797AEC
tetradic
#EC797A #B4EC79 #79ECEB #B179EC
square
#EC797A #B4EC79 #79ECEB #B179EC
split-complementary
#EC797A #79ECB1 #79B4EC
monochromatic
#CD1D1F #E44345 #EC797A #F4AFAF #FBE4E4

Accessibility & contrast

On white

2.77
#EC797A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#EC797A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC797A
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC797A#FFFFFF#000000##000000
##EC797A1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928D79
Deuteranopia (green-blind)
#AFA478
Tritanopia (blue-blind)
#FF697A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ec797a;
/* rgb */ color: rgb(236, 121, 122);
/* oklch */ color: oklch(70.7% 0.142 20.8);
Tailwind
colors: {
  custom: {
    50: '#f6a2a0',
    500: '#ec797a',
    950: '#000000',
  },
}
SCSS
$custom: #ec797a;
$custom-light: #f6a2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec797a",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 122
  },
  "hsl": {
    "h": 359.478,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.70745,
    "c": 0.14215,
    "h": 20.8
  },
  "luminance": 0.32913
}

Semantic roles & 50–950 ramp

primary
#EC797A
secondary
#D0F0F0
accent
#D7D60E
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#180F0E
muted
#867F7E

Preview Lab

Preview with #EC797A

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

Preview Lab → · Contrast checker → · Palette generator →

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