#EC797D#EC797D

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

Color values

HEX#EC797D
RGBrgb(236, 121, 125)
HSLhsl(358, 75%, 70%)
HSVhsv(358, 49%, 93%)
CMYKcmyk(0%, 48.7%, 47%, 7.5%)
CIE-LABlab(64.16, 44.59, 18.42)
CIE-LCHlch(64.16, 48.24, 22.45°)
OKLaboklab(70.81% 0.1341 0.0466)
OKLCHoklch(70.81% 0.142 19.2)
XYZxyz(45.1341, 32.9930, 23.3894)
Luminance0.3299 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC797D #79ECE8
analogous
#EC79B7 #EC797D #ECAE79
triadic
#EC797D #7DEC79 #797DEC
tetradic
#EC797D #B7EC79 #79ECE8 #AE79EC
square
#EC797D #B7EC79 #79ECE8 #AE79EC
split-complementary
#EC797D #79ECAE #79B7EC
monochromatic
#CD1D23 #E44349 #EC797D #F4AFB1 #FBE4E5

Accessibility & contrast

On white

2.76
#EC797D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#EC797D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC797D
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC797D#FFFFFF#000000##000000
##EC797D1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec797d;
/* rgb */ color: rgb(236, 121, 125);
/* oklch */ color: oklch(70.8% 0.142 19.2);
Tailwind
colors: {
  custom: {
    50: '#f6a2a2',
    500: '#ec797d',
    950: '#000000',
  },
}
SCSS
$custom: #ec797d;
$custom-light: #f6a2a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec797d",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 125
  },
  "hsl": {
    "h": 357.913,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.70812,
    "c": 0.14194,
    "h": 19.2
  },
  "luminance": 0.32988
}

Semantic roles & 50–950 ramp

primary
#EC797D
secondary
#D0F0EF
accent
#D7D00E
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#180F0F
muted
#867F7E

Preview Lab

Preview with #EC797D

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

Preview Lab → · Contrast checker → · Palette generator →

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