#EC797C#EC797C

#EC797C is a light, vivid red. Relative luminance 0.330; OKLCH L 70.8% C 0.142 H 19.7°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#EC797C
RGBrgb(236, 121, 124)
HSLhsl(358, 75%, 70%)
HSVhsv(358, 49%, 93%)
CMYKcmyk(0%, 48.7%, 47.5%, 7.5%)
CIE-LABlab(64.13, 44.49, 18.96)
CIE-LCHlch(64.13, 48.36, 23.08°)
OKLaboklab(70.79% 0.1337 0.0479)
OKLCHoklch(70.79% 0.142 19.7)
XYZxyz(45.0705, 32.9675, 23.0547)
Luminance0.3296 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC797C #79ECE9
analogous
#EC79B5 #EC797C #ECB079
triadic
#EC797C #7CEC79 #797CEC
tetradic
#EC797C #B5EC79 #79ECE9 #B079EC
square
#EC797C #B5EC79 #79ECE9 #B079EC
split-complementary
#EC797C #79ECB0 #79B5EC
monochromatic
#CD1D22 #E44348 #EC797C #F4AFB0 #FBE4E5

Accessibility & contrast

On white

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

On black

7.59
#EC797C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC797C
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC797C#FFFFFF#000000##000000
##EC797C1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928D7B
Deuteranopia (green-blind)
#AFA47A
Tritanopia (blue-blind)
#FF697B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ec797c;
/* rgb */ color: rgb(236, 121, 124);
/* oklch */ color: oklch(70.8% 0.142 19.7);
Tailwind
colors: {
  custom: {
    50: '#f6a2a1',
    500: '#ec797c',
    950: '#000000',
  },
}
SCSS
$custom: #ec797c;
$custom-light: #f6a2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec797c",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 124
  },
  "hsl": {
    "h": 358.435,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.70789,
    "c": 0.142,
    "h": 19.7
  },
  "luminance": 0.32963
}

Semantic roles & 50–950 ramp

primary
#EC797C
secondary
#D0F0F0
accent
#D7D20E
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#180F0F
muted
#867F7E

Preview Lab

Preview with #EC797C

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

Preview Lab → · Contrast checker → · Palette generator →

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