#EC797B#EC797B

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

Color values

HEX#EC797B
RGBrgb(236, 121, 123)
HSLhsl(359, 75%, 70%)
HSVhsv(359, 49%, 93%)
CMYKcmyk(0%, 48.7%, 47.9%, 7.5%)
CIE-LABlab(64.11, 44.40, 19.50)
CIE-LCHlch(64.11, 48.49, 23.71°)
OKLaboklab(70.77% 0.1333 0.0492)
OKLCHoklch(70.77% 0.142 20.3)
XYZxyz(45.0076, 32.9424, 22.7233)
Luminance0.3294 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC797B #79ECEA
analogous
#EC79B4 #EC797B #ECB179
triadic
#EC797B #7BEC79 #797BEC
tetradic
#EC797B #B4EC79 #79ECEA #B179EC
square
#EC797B #B4EC79 #79ECEA #B179EC
split-complementary
#EC797B #79ECB1 #79B4EC
monochromatic
#CD1D20 #E44346 #EC797B #F4AFB0 #FBE4E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC797B#FFFFFF#000000##000000
##EC797B1.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)
#928D7A
Deuteranopia (green-blind)
#AFA479
Tritanopia (blue-blind)
#FF697B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ec797b;
/* rgb */ color: rgb(236, 121, 123);
/* oklch */ color: oklch(70.8% 0.142 20.3);
Tailwind
colors: {
  custom: {
    50: '#f6a2a1',
    500: '#ec797b',
    950: '#000000',
  },
}
SCSS
$custom: #ec797b;
$custom-light: #f6a2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec797b",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 123
  },
  "hsl": {
    "h": 358.957,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.70767,
    "c": 0.14206,
    "h": 20.3
  },
  "luminance": 0.32938
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC797B

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

Preview Lab → · Contrast checker → · Palette generator →

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