#EC798D#EC798D

#EC798D is a light, vivid red. Relative luminance 0.334; OKLCH L 71.2% C 0.142 H 10.4°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#EC798D
RGBrgb(236, 121, 141)
HSLhsl(350, 75%, 70%)
HSVhsv(350, 49%, 93%)
CMYKcmyk(0%, 48.7%, 40.3%, 7.5%)
CIE-LABlab(64.51, 46.21, 9.82)
CIE-LCHlch(64.51, 47.24, 12.00°)
OKLaboklab(71.2% 0.1401 0.0257)
OKLCHoklch(71.2% 0.142 10.4)
XYZxyz(46.2398, 33.4352, 29.2126)
Luminance0.3343 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC798D #79ECD8
analogous
#EC79C7 #EC798D #EC9E79
triadic
#EC798D #8DEC79 #798DEC
tetradic
#EC798D #C7EC79 #79ECD8 #9E79EC
square
#EC798D #C7EC79 #79ECD8 #9E79EC
split-complementary
#EC798D #79EC9E #79C7EC
monochromatic
#CD1D3C #E4435F #EC798D #F4AFBB #FBE4E8

Accessibility & contrast

On white

2.73
#EC798D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#EC798D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC798D
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC798D#FFFFFF#000000##000000
##EC798D1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8F8D
Deuteranopia (green-blind)
#ACA58B
Tritanopia (blue-blind)
#FE6D80
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ec798d;
/* rgb */ color: rgb(236, 121, 141);
/* oklch */ color: oklch(71.2% 0.142 10.4);
Tailwind
colors: {
  custom: {
    50: '#f6a2ae',
    500: '#ec798d',
    950: '#000000',
  },
}
SCSS
$custom: #ec798d;
$custom-light: #f6a2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ec798d",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 141
  },
  "hsl": {
    "h": 349.565,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.71199,
    "c": 0.14247,
    "h": 10.4
  },
  "luminance": 0.33431
}

Semantic roles & 50–950 ramp

primary
#EC798D
secondary
#D0F0EB
accent
#D7B40E
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F

Preview Lab

Preview with #EC798D

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

Preview Lab → · Contrast checker → · Palette generator →

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